credentials: Added void *params to public_key encrypt() and private_key decrypt() methods
This commit is contained in:
@@ -278,7 +278,7 @@ METHOD(private_key_t, sign, bool,
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_gcrypt_rsa_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t encrypted, chunk_t *plain)
|
||||
void *params, chunk_t encrypted, chunk_t *plain)
|
||||
{
|
||||
gcry_error_t err;
|
||||
gcry_sexp_t in, out;
|
||||
|
||||
@@ -237,7 +237,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt_, bool,
|
||||
private_gcrypt_rsa_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t plain, chunk_t *encrypted)
|
||||
void *params, chunk_t plain, chunk_t *encrypted)
|
||||
{
|
||||
gcry_sexp_t in, out;
|
||||
gcry_error_t err;
|
||||
|
||||
Reference in New Issue
Block a user