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
+2 -2
View File
@@ -76,7 +76,7 @@ METHOD(private_key_t, get_keysize, int,
}
METHOD(private_key_t, sign, bool,
private_tpm_private_key_t *this, signature_scheme_t scheme,
private_tpm_private_key_t *this, signature_scheme_t scheme, void *params,
chunk_t data, chunk_t *signature)
{
chunk_t pin = chunk_empty;
@@ -191,7 +191,7 @@ tpm_private_key_t *tpm_private_key_connect(key_type_t type, va_list args)
if (!tpm)
{
DBG1(DBG_LIB, "no TPM 2.0 found");
return NULL;
return NULL;
}
INIT(this,