credentials: Added void *params to public_key encrypt() and private_key decrypt() methods
This commit is contained in:
@@ -494,7 +494,7 @@ METHOD(private_key_t, sign, bool,
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_gmp_rsa_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
chunk_t em, stripped;
|
||||
bool success = FALSE;
|
||||
|
||||
@@ -313,7 +313,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt_, bool,
|
||||
private_gmp_rsa_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t plain, chunk_t *crypto)
|
||||
void *params, chunk_t plain, chunk_t *crypto)
|
||||
{
|
||||
chunk_t em;
|
||||
u_char *pos;
|
||||
|
||||
Reference in New Issue
Block a user