private-key: Add optional parameters argument to sign() method

This commit is contained in:
Tobias Brunner
2017-11-08 16:48:10 +01:00
parent a413571f3b
commit de280c2e03
29 changed files with 50 additions and 50 deletions
@@ -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;