From f9b6cfd536fc97a9fdf94e61649bffb682e78de1 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 14 Jul 2017 10:15:23 +0200 Subject: 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 --- lib/algorithms/kx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/algorithms') 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; -- cgit v1.2.1