commit | 609ab6478be8bf6ebd62add5ebf93cef7113ab0e | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Wed Jun 16 14:29:11 2021 +0200 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Jun 17 09:41:01 2021 +0200 |
tree | fcea87fafe0941f080e9dd59d523e6b390dd32ad | |
parent | 6ff9ef56a507a02cb338f8de70acca3f53de913b [diff] [blame] |
Fix warning in some configurations Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/library/pkparse.c b/library/pkparse.c index 5438ee4..25fc1fe 100644 --- a/library/pkparse.c +++ b/library/pkparse.c
@@ -1010,6 +1010,11 @@ mbedtls_pk_type_t pk_alg = MBEDTLS_PK_NONE; const mbedtls_pk_info_t *pk_info; +#if !defined(MBEDTLS_ECP_C) + (void) f_rng; + (void) p_rng; +#endif + /* * This function parses the PrivateKeyInfo object (PKCS#8 v1.2 = RFC 5208) *