diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-07 15:36:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:36 +0100 |
commit | ab839c29bcc774642b1dc6d8ed95ccbf12f8ac01 (patch) | |
tree | 82291a065a07eadba6a2f463c3d77fc26ff7cc46 /lib/auth/cert.c | |
parent | 96f2de961f7d9c0e6657a0bbc96d19d536a4b9d8 (diff) | |
download | gnutls-ab839c29bcc774642b1dc6d8ed95ccbf12f8ac01.tar.gz |
handshake: use hsk_flags in TLS1.2 and TLS1.3
The flags provide a more transparent view of the received
and expected messages.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/auth/cert.c')
-rw-r--r-- | lib/auth/cert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/cert.c b/lib/auth/cert.c index 7c6b631a1d..6d618a3532 100644 --- a/lib/auth/cert.c +++ b/lib/auth/cert.c @@ -977,7 +977,7 @@ _gnutls_proc_cert_cert_req(gnutls_session_t session, uint8_t * data, /* We should reply with a certificate message, * even if we have no certificate to send. */ - session->internals.crt_requested = 1; + session->internals.hsk_flags |= HSK_CRT_ASKED; /* now we ask the user to tell which one * he wants to use. |