From: Daniil Zotkin Date: Tue, 24 Sep 2019 09:47:26 +0000 (+0300) Subject: Process GOST ClientKeyExchange message in SSL_trace X-Git-Tag: openssl-3.0.0-alpha1~913 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6834df12d1aaaefbb20154ee1e013514d3c57dda;p=oweals%2Fopenssl.git 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) --- 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; }