projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added synchronous and asynchronous PKCS calls.
[crypto.git]
/
lib
/
silcssh
/
silcssh_pkcs.c
diff --git
a/lib/silcssh/silcssh_pkcs.c
b/lib/silcssh/silcssh_pkcs.c
index d119b3d5d94143ecc08ad5b73369282323361593..3772a79bc22f0631f63fc052e3f70b43ca3eaadf 100644
(file)
--- 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 */
}
/* 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);
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,
/* 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);
verify_cb, context);
silc_free(signame);