From 6834df12d1aaaefbb20154ee1e013514d3c57dda Mon Sep 17 00:00:00 2001 From: Daniil Zotkin Date: Tue, 24 Sep 2019 12:47:26 +0300 Subject: [PATCH] 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 Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/9995) --- ssl/t1_trce.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.34.1