summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:17:27 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit5a0f78d7300975afc64f51ad217e69f71aa0aa55 (patch)
treedf9d2651cca1cc8c31b13a1a945a5b110ddd3f81 /ncr-pk.c
parent52e90afd006bec2a072c00cae8945e606f43da66 (diff)
downloadcryptodev-linux-5a0f78d7300975afc64f51ad217e69f71aa0aa55.tar.gz
cryptodev-linux-5a0f78d7300975afc64f51ad217e69f71aa0aa55.tar.xz
cryptodev-linux-5a0f78d7300975afc64f51ad217e69f71aa0aa55.zip
Use algo_properties_st in rsa_decrypt_key_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 bd041b1..9a9e98a 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -420,7 +420,7 @@ int stat;
switch(ctx->algorithm->algo) {
case NCR_ALG_RSA:
cret = rsa_decrypt_key_ex( input, input_size, output, &osize,
- NULL, 0, ctx->oaep_hash->algo, ctx->type, &stat, &ctx->key->key.pk.rsa);
+ NULL, 0, ctx->oaep_hash, ctx->type, &stat, &ctx->key->key.pk.rsa);
if (cret != CRYPT_OK) {
err();