From 90e1b1fd7dafe3fe456848289a0527e728a4d9a3 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 2 Jul 2006 21:13:39 +0000 Subject: [PATCH] dsa_pub_cmp() doesn't need to check parameters because that is done in EVP_PKEY_cmp(). --- crypto/dsa/dsa_ameth.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.25.1