Skip to content

Commit

Permalink
Bug 1388617 - Print key_update and certificate_status messages, r=tta…
Browse files Browse the repository at this point in the history
…ubert

--HG--
branch : NSS_TLS13_DRAFT19_BRANCH
extra : amend_source : ad25fdc2becfb3c9e5385d500286452c01a162f7
  • Loading branch information
martinthomson committed Aug 9, 2017
1 parent bd277da commit 889190e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ssl/ssl3con.c
Expand Up @@ -598,6 +598,12 @@ ssl3_DecodeHandshakeType(int msgType)
case ssl_hs_finished:
rv = "finished (20)";
break;
case ssl_hs_certificate_status:
rv = "certificate_status (22)";
break;
case ssl_hs_key_update:
rv = "key_update (24)";
break;
default:
sprintf(line, "*UNKNOWN* handshake type! (%d)", msgType);
rv = line;
Expand Down
1 change: 1 addition & 0 deletions lib/ssl/sslt.h
Expand Up @@ -30,6 +30,7 @@ typedef enum {
ssl_hs_client_key_exchange = 16,
ssl_hs_finished = 20,
ssl_hs_certificate_status = 22,
ssl_hs_key_update = 24,
ssl_hs_next_proto = 67,
ssl_hs_message_hash = 254, /* Not a real message. */
} SSLHandshakeType;
Expand Down

0 comments on commit 889190e

Please sign in to comment.