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 4e1dcfb3c393e367ab28cff66463babddfab0f67..f5c59b23397376c11d0191e79085ab07b98d0dd6 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);