mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-29 06:41:59 +03:00
Return MBEDTLS_ERR_PEM_PASSWORD_MISMATCH instead of MBEDTLS_ERR_PEM_BAD_INPUT_DATA in case of errors. This commit also fix related failures in test pkparse and pem test suites. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>