summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
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();