private-key: Add optional parameters argument to sign() method
This commit is contained in:
1 parent
a413571f3b
commit
de280c2e03
29 files changed
+50
-50
No files matched your search
@@ -244,7 +244,7 @@ static bool build_auth(private_pretend_auth_t *this,
|
||||
private->destroy(private);
|
||||
return FALSE;
|
||||
}
|
||||
if (!private->sign(private, scheme, octets, &auth_data))
|
||||
if (!private->sign(private, scheme, NULL, octets, &auth_data))
|
||||
{
|
||||
chunk_free(&octets);
|
||||
private->destroy(private);
|
||||
|
||||
@@ -143,7 +143,7 @@ static bool rebuild_auth(private_rebuild_auth_t *this, ike_sa_t *ike_sa,
|
||||
id->destroy(id);
|
||||
return FALSE;
|
||||
}
|
||||
if (!private->sign(private, scheme, octets, &auth_data))
|
||||
if (!private->sign(private, scheme, NULL, octets, &auth_data))
|
||||
{
|
||||
chunk_free(&octets);
|
||||
private->destroy(private);
|
||||
|
||||
Reference in new issue
Block a user