From: Andreas Steffen Date: Fri, 10 Nov 2017 10:47:27 +0000 (+0100) Subject: libtpmtss: Added missing argument in hasher_from_signature_scheme() X-Git-Tag: 5.6.1rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d632555130e4f8665c6aeb4de90d0428509a4b8;p=thirdparty%2Fstrongswan.git libtpmtss: Added missing argument in hasher_from_signature_scheme() --- diff --git a/src/libtpmtss/tpm_tss_tss2.c b/src/libtpmtss/tpm_tss_tss2.c index dcba05c435..4c0d95fe57 100644 --- a/src/libtpmtss/tpm_tss_tss2.c +++ b/src/libtpmtss/tpm_tss_tss2.c @@ -742,7 +742,7 @@ METHOD(tpm_tss_t, sign, bool, *( (uint8_t *)((void *)&session_data_cmd.sessionAttributes ) ) = 0; key_type = key_type_from_signature_scheme(scheme); - hash_alg = hasher_from_signature_scheme(scheme); + hash_alg = hasher_from_signature_scheme(scheme, NULL); /* Check if hash algorithm is supported by TPM */ alg_id = hash_alg_to_tpm_alg_id(hash_alg);