credentials: Added void *params to public_key encrypt() and private_key decrypt() methods
This commit is contained in:
@@ -644,7 +644,7 @@ static bool decrypt(private_openssl_pkcs7_t *this,
|
||||
{
|
||||
/* get encryptedKey from internal structure; TODO fixup */
|
||||
chunk = openssl_asn1_str2chunk(ri->ktri->encryptedKey);
|
||||
if (private->decrypt(private, ENCRYPT_RSA_PKCS1,
|
||||
if (private->decrypt(private, ENCRYPT_RSA_PKCS1, NULL,
|
||||
chunk, &key))
|
||||
{
|
||||
private->destroy(private);
|
||||
|
||||
Reference in New Issue
Block a user