Fix some dependencies and warnings in small config

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-18 17:18:34 +02:00
parent 5ad403f5b5
commit 1032c1d3ec
5 changed files with 28 additions and 15 deletions

View file

@ -745,7 +745,10 @@ static int pk_parse_key_pkcs8_encrypted_der(
}
else
#endif /* POLARSSL_PKCS5_C */
{
((void) pwd);
return( POLARSSL_ERR_PK_FEATURE_UNAVAILABLE );
}
return( pk_parse_key_pkcs8_unencrypted_der( pk, buf, len ) );
}