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 954cd51..a54c4f1 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