From 41f10305d83ac5335f8ff05cce0854b4d93d333f Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Thu, 3 May 2018 18:31:01 +0300 Subject: [PATCH] Send GOST SignatureAlgorithms when TLS 1.2 in use Reviewed-by: Bernd Edlinger Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/6168) --- ssl/t1_lib.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index e72ac73737..aab50e129e 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -661,7 +661,12 @@ static const uint16_t tls12_sigalgs[] = { TLSEXT_SIGALG_dsa_sha256, TLSEXT_SIGALG_dsa_sha384, - TLSEXT_SIGALG_dsa_sha512 + TLSEXT_SIGALG_dsa_sha512, +#endif +#ifndef OPENSSL_NO_GOST + TLSEXT_SIGALG_gostr34102012_256_gostr34112012_256, + TLSEXT_SIGALG_gostr34102012_512_gostr34112012_512, + TLSEXT_SIGALG_gostr34102001_gostr3411, #endif }; -- 2.25.1