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 09dd242..bd041b1 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -390,7 +390,7 @@ unsigned long osize = *output_size;
switch(ctx->algorithm->algo) {
case NCR_ALG_RSA:
cret = rsa_encrypt_key_ex( input, input_size, output, &osize,
- NULL, 0, ctx->oaep_hash->algo, ctx->type, &ctx->key->key.pk.rsa);
+ NULL, 0, ctx->oaep_hash, ctx->type, &ctx->key->key.pk.rsa);
if (cret != CRYPT_OK) {
printk("cret: %d type: %d\n", cret, ctx->type);