typo
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 Mar 2010 14:04:54 +0000 (14:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 11 Mar 2010 14:04:54 +0000 (14:04 +0000)
crypto/rsa/rsa_ameth.c

index 4e1dcfb..f5c59b2 100644 (file)
@@ -504,7 +504,7 @@ static int rsa_item_verify(EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn,
 
        if (pss->hashAlgorithm)
                {
-               md = EVP_get_digestbyobj(maskHash->algorithm);
+               md = EVP_get_digestbyobj(pss->hashAlgorithm->algorithm);
                if (md == NULL)
                        {
                        RSAerr(RSA_F_RSA_ITEM_VERIFY, RSA_R_UNKNOWN_PSS_DIGEST);