summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:24:51 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commitfad50a3c690dc2d52b0f568b714a0cfcf072c938 (patch)
treec6467186aa2e97dcbcb687c08a57c7e06f21dba3 /ncr-pk.c
parentb92da3d22f38bfbc9187032d273a8de39f9bb423 (diff)
downloadcryptodev-linux-fad50a3c690dc2d52b0f568b714a0cfcf072c938.tar.gz
cryptodev-linux-fad50a3c690dc2d52b0f568b714a0cfcf072c938.tar.xz
cryptodev-linux-fad50a3c690dc2d52b0f568b714a0cfcf072c938.zip
Use algo_properties_st in rsa_verify_hash_ex
Diffstat (limited to 'ncr-pk.c')
-rw-r--r--ncr-pk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-pk.c b/ncr-pk.c
index 505dd6f..8386b2b 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -498,7 +498,7 @@ int stat;
return -EINVAL;
}
cret = rsa_verify_hash_ex( signature, signature_size,
- hash, hash_size, ctx->type, ctx->sign_hash->algo,
+ hash, hash_size, ctx->type, ctx->sign_hash,
ctx->salt_len, &stat, &ctx->key->key.pk.rsa);
if (cret != CRYPT_OK) {