diff options
author | Daniil Zotkin <zotkin@rutoken.ru> | 2019-09-24 12:47:26 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2019-11-23 16:27:30 +0300 |
commit | 6834df12d1aaaefbb20154ee1e013514d3c57dda (patch) | |
tree | ad42f28ad9a797cdf13b4d9f6d596156c48eb748 /ssl/t1_trce.c | |
parent | 72a5412b4858cc7c5627a121f78685a2a4065521 (diff) | |
download | openssl-6834df12d1aaaefbb20154ee1e013514d3c57dda.tar.gz |
Process GOST ClientKeyExchange message in SSL_trace
Use ssl_print_hex to print message in case of GOST key exchange algorithm.
CLA: trivial
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/9995)
Diffstat (limited to 'ssl/t1_trce.c')
-rw-r--r-- | ssl/t1_trce.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c index c55c172b88..916fe85378 100644 --- a/ssl/t1_trce.c +++ b/ssl/t1_trce.c @@ -1110,6 +1110,10 @@ static int ssl_print_client_keyex(BIO *bio, int indent, const SSL *ssl, if (!ssl_print_hexbuf(bio, indent + 2, "ecdh_Yc", 1, &msg, &msglen)) return 0; break; + case SSL_kGOST: + ssl_print_hex(bio, indent + 2, "GostKeyTransportBlob", msg, msglen); + msglen = 0; + break; } |