mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-13 05:39:57 +00:00
Fix warning in some configurations
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
This commit is contained in:
@@ -1010,6 +1010,11 @@ static int pk_parse_key_pkcs8_unencrypted_der(
|
|||||||
mbedtls_pk_type_t pk_alg = MBEDTLS_PK_NONE;
|
mbedtls_pk_type_t pk_alg = MBEDTLS_PK_NONE;
|
||||||
const mbedtls_pk_info_t *pk_info;
|
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)
|
* This function parses the PrivateKeyInfo object (PKCS#8 v1.2 = RFC 5208)
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user