diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-11-29 16:59:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-11-30 03:49:35 +0000 |
commit | 30c7fea496083d41b809db0041e6dfd3ea9cb858 (patch) | |
tree | 1874e5c491fdf85ab4ace1a3f9b65da7fac7324e | |
parent | 7afd231275a6841556dd674ac0df471d0b7bcf33 (diff) | |
download | openssl-30c7fea496083d41b809db0041e6dfd3ea9cb858.tar.gz |
Remove GOST special case: handled automatically now.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
-rw-r--r-- | ssl/t1_lib.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 0ace6280df..02ad438a6e 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -994,22 +994,7 @@ size_t tls12_get_psigalgs(SSL *s, const unsigned char **psigs) return s->cert->conf_sigalgslen; } else { *psigs = tls12_sigalgs; -#ifndef OPENSSL_NO_GOST - /* - * We expect that GOST 2001 signature and GOST 34.11-94 hash are present in all engines - * and GOST 2012 algorithms are not always present. - * It may change when the old algorithms are deprecated. - */ - if ((EVP_get_digestbynid(NID_id_GostR3411_94) != NULL) - && (EVP_get_digestbynid(NID_id_GostR3411_2012_256) == NULL)) { - return sizeof(tls12_sigalgs) - 4; - } else if (EVP_get_digestbynid(NID_id_GostR3411_94) == NULL) { - return sizeof(tls12_sigalgs) - 6; - } return sizeof(tls12_sigalgs); -#else - return sizeof(tls12_sigalgs); -#endif } } |