diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-21 12:58:51 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:34 +0100 |
commit | 5fd97a181a2f625a9b441e17afab64199b9ed1dc (patch) | |
tree | ad3d4ea63debb10297946d18428d13adbbf6f3d6 /lib/gnutls_int.h | |
parent | cf912582bba30fa9e8563cf7a7e1d19819615a49 (diff) | |
download | gnutls-5fd97a181a2f625a9b441e17afab64199b9ed1dc.tar.gz |
handshake: introduced server side handshake [2/2]
That is, send server certificate verify and receive
certificate and certificate verify messages. In addition
introduced flags to mark the expected, or sent messages.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 998274e264..62dd6cb6c7 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1106,6 +1106,11 @@ typedef struct { unsigned int handshake_timeout_ms; /* timeout in milliseconds */ unsigned int record_timeout_ms; /* timeout in milliseconds */ +#define HSK_CRT_VRFY_EXPECTED 1 +#define HSK_CRT_SENT (1<<1) +#define HSK_CRT_ASKED (1<<2) + unsigned hsk_flags; /* TLS1.3 only */ + unsigned crt_requested; /* 1 if client auth was requested (i.e., client cert). * In case of a server this holds 1 if we should wait * for a client certificate verify |