private-key: Add optional parameters argument to sign() method
This commit is contained in:
@@ -564,7 +564,7 @@ static bool generate(private_pkcs7_signed_data_t *this, private_key_t *key,
|
||||
|
||||
attributes = pkcs9->get_encoding(pkcs9);
|
||||
|
||||
if (!key->sign(key, scheme, attributes, &encryptedDigest))
|
||||
if (!key->sign(key, scheme, NULL, attributes, &encryptedDigest))
|
||||
{
|
||||
free(data.ptr);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user