X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilcssh%2Fsilcssh_pkcs.c;fp=lib%2Fsilcssh%2Fsilcssh_pkcs.c;h=3772a79bc22f0631f63fc052e3f70b43ca3eaadf;hp=d119b3d5d94143ecc08ad5b73369282323361593;hb=957577debbf00959048d7a5adebdff8d5019f1d5;hpb=8cbd4e2524c7e45c506bd00779d05f6608a81f66 diff --git a/lib/silcssh/silcssh_pkcs.c b/lib/silcssh/silcssh_pkcs.c index d119b3d5..3772a79b 100644 --- a/lib/silcssh/silcssh_pkcs.c +++ b/lib/silcssh/silcssh_pkcs.c @@ -573,7 +573,7 @@ SILC_PKCS_IMPORT_PRIVATE_KEY_FILE(silc_pkcs_ssh_import_private_key_file) } /* Decode the private key */ - ret = silc_pkcs_ssh_import_private_key(pkcs, alg, NULL, 0, filedata, + ret = silc_pkcs_ssh_import_private_key(pkcs, alg, NULL, 0, filedata, filedata_len, (void *)&privkey, ret_alg); silc_free(data); @@ -1046,7 +1046,7 @@ SILC_PKCS_VERIFY(silc_pkcs_ssh_verify) /* Verify */ op = pubkey->pkcs->verify(pubkey->pkcs, pubkey->public_key, signature, signature_len, - data, data_len, hash, rng, + data, data_len, compute_hash, hash, rng, verify_cb, context); silc_free(signame);