dsa_pub_cmp() doesn't need to check parameters because that is done in
authorDr. Stephen Henson <steve@openssl.org>
Sun, 2 Jul 2006 21:13:39 +0000 (21:13 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 2 Jul 2006 21:13:39 +0000 (21:13 +0000)
EVP_PKEY_cmp().

crypto/dsa/dsa_ameth.c

index 954cd514bf33e6c52ce520c3436d05294c581723..a54c4f1938b2a826df5faa7b6471bcbd7136e52b 100644 (file)
@@ -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