From: Dmitry Belyavskiy Date: Thu, 3 May 2018 15:31:01 +0000 (+0300) Subject: Send GOST SignatureAlgorithms when TLS 1.2 in use X-Git-Tag: OpenSSL_1_1_1-pre8~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=41f10305d83ac5335f8ff05cce0854b4d93d333f;p=oweals%2Fopenssl.git 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) --- 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 };