From: Nikolay Morozov Date: Wed, 12 Feb 2020 12:20:41 +0000 (+0300) Subject: Forgotten GOST2012 support in non-vital places X-Git-Tag: OpenSSL_1_1_1e~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64dc4eeef8d6f15c6d3ae296b07cb2fa9e84404b;p=oweals%2Fopenssl.git Forgotten GOST2012 support in non-vital places Reviewed-by: Shane Lontis Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/11072) --- diff --git a/apps/s_cb.c b/apps/s_cb.c index 5dc1d03f28..6750c33279 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -188,6 +188,7 @@ static STRINT_PAIR cert_type_list[] = { {"RSA fixed ECDH", TLS_CT_RSA_FIXED_ECDH}, {"ECDSA fixed ECDH", TLS_CT_ECDSA_FIXED_ECDH}, {"GOST01 Sign", TLS_CT_GOST01_SIGN}, + {"GOST12 Sign", TLS_CT_GOST12_SIGN}, {NULL} }; diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c index b8ea51136a..89e3140541 100644 --- a/crypto/asn1/asn_mime.c +++ b/crypto/asn1/asn_mime.c @@ -198,6 +198,14 @@ static int asn1_write_micalg(BIO *out, STACK_OF(X509_ALGOR) *mdalgs) BIO_puts(out, "gostr3411-94"); goto err; + case NID_id_GostR3411_2012_256: + BIO_puts(out, "gostr3411-2012-256"); + goto err; + + case NID_id_GostR3411_2012_512: + BIO_puts(out, "gostr3411-2012-512"); + goto err; + default: if (have_unknown) write_comma = 0;