diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-07-18 13:48:13 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:34 +0100 |
commit | 50dc611a01de45e84ee84c18d71347ac6ec2890f (patch) | |
tree | fcbd9440ab0268143ef9be68b8197d9331b0037f /lib/debug.c | |
parent | 5d3cc78bd576e65f3017b28de2a89e0b8de6f57d (diff) | |
download | gnutls-50dc611a01de45e84ee84c18d71347ac6ec2890f.tar.gz |
handshake: introduced TLS 1.3 handshake client state machine outline
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/lib/debug.c b/lib/debug.c index 252f2470a6..6a6aa1c94c 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -84,56 +84,46 @@ const char type) { switch (type) { + case GNUTLS_HANDSHAKE_END_OF_EARLY_DATA: + return "END OF EARLY DATA"; + case GNUTLS_HANDSHAKE_HELLO_RETRY_REQUEST: + return "HELLO RETRY REQUEST"; case GNUTLS_HANDSHAKE_HELLO_REQUEST: return "HELLO REQUEST"; - break; case GNUTLS_HANDSHAKE_CLIENT_HELLO: return "CLIENT HELLO"; - break; #ifdef ENABLE_SSL2 case GNUTLS_HANDSHAKE_CLIENT_HELLO_V2: return "SSL2 CLIENT HELLO"; - break; #endif case GNUTLS_HANDSHAKE_SERVER_HELLO: return "SERVER HELLO"; - break; case GNUTLS_HANDSHAKE_HELLO_VERIFY_REQUEST: return "HELLO VERIFY REQUEST"; - break; case GNUTLS_HANDSHAKE_CERTIFICATE_PKT: return "CERTIFICATE"; - break; + case GNUTLS_HANDSHAKE_ENCRYPTED_EXTENSIONS: + return "ENCRYPTED EXTENSIONS"; case GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE: return "SERVER KEY EXCHANGE"; - break; case GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST: return "CERTIFICATE REQUEST"; - break; case GNUTLS_HANDSHAKE_SERVER_HELLO_DONE: return "SERVER HELLO DONE"; - break; case GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY: return "CERTIFICATE VERIFY"; - break; case GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE: return "CLIENT KEY EXCHANGE"; - break; case GNUTLS_HANDSHAKE_FINISHED: return "FINISHED"; - break; case GNUTLS_HANDSHAKE_SUPPLEMENTAL: return "SUPPLEMENTAL"; - break; case GNUTLS_HANDSHAKE_CERTIFICATE_STATUS: return "CERTIFICATE STATUS"; - break; case GNUTLS_HANDSHAKE_NEW_SESSION_TICKET: return "NEW SESSION TICKET"; - break; case GNUTLS_HANDSHAKE_CHANGE_CIPHER_SPEC: return "CHANGE CIPHER SPEC"; - break; default: return "Unknown Handshake packet"; } |