From: Dr. Stephen Henson Date: Sun, 2 Jul 2006 21:13:39 +0000 (+0000) Subject: dsa_pub_cmp() doesn't need to check parameters because that is done in X-Git-Tag: OpenSSL_0_9_8k^2~1229 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90e1b1fd7dafe3fe456848289a0527e728a4d9a3;p=oweals%2Fopenssl.git dsa_pub_cmp() doesn't need to check parameters because that is done in EVP_PKEY_cmp(). --- diff --git a/crypto/dsa/dsa_ameth.c b/crypto/dsa/dsa_ameth.c index 954cd514bf..a54c4f1938 100644 --- a/crypto/dsa/dsa_ameth.c +++ b/crypto/dsa/dsa_ameth.c @@ -397,8 +397,6 @@ static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { - if (dsa_cmp_parameters(a, b) == 0) - return 0; if (BN_cmp(b->pkey.dsa->pub_key,a->pkey.dsa->pub_key) != 0) return 0; else