summaryrefslogtreecommitdiff
path: root/lib/algorithms
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-14 10:15:23 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-02 08:26:28 +0200
commitf9b6cfd536fc97a9fdf94e61649bffb682e78de1 (patch)
tree1db0ea69864d19ea897370bcb83e15ba65310316 /lib/algorithms
parent2a552f2eb3c93e2c13c1eb8cd4f64317d8586e5f (diff)
downloadgnutls-f9b6cfd536fc97a9fdf94e61649bffb682e78de1.tar.gz
security_parameters: simplified contents by keeping pointer to cipher_suite_entry_st
That, in addition to simplifying the contents, it allows faster access to ciphersuite's properties. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/algorithms')
-rw-r--r--lib/algorithms/kx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithms/kx.c b/lib/algorithms/kx.c
index 309484054f..9e004c5eb2 100644
--- a/lib/algorithms/kx.c
+++ b/lib/algorithms/kx.c
@@ -244,7 +244,7 @@ int _gnutls_kx_is_ok(gnutls_kx_algorithm_t algorithm)
bool _gnutls_kx_allows_false_start(gnutls_session_t session)
{
- unsigned algorithm = session->security_parameters.kx_algorithm;
+ unsigned algorithm = session->security_parameters.cs->kx_algorithm;
bool needs_dh = 0;
int bits;