credentials: Added void *params to public_key encrypt() and private_key decrypt() methods
This commit is contained in:
@@ -113,7 +113,7 @@ end:
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_curve25519_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
DBG1(DBG_LIB, "encryption scheme %N not supported", encryption_scheme_names,
|
||||
scheme);
|
||||
|
||||
@@ -139,7 +139,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt_, bool,
|
||||
private_curve25519_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t plain, chunk_t *crypto)
|
||||
void *params, chunk_t plain, chunk_t *crypto)
|
||||
{
|
||||
DBG1(DBG_LIB, "encryption scheme %N not supported", encryption_scheme_names,
|
||||
scheme);
|
||||
|
||||
Reference in New Issue
Block a user