mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 19:15:41 +01:00
1fd4321ba2
The error code POLARSSL_ERR_X509_PASSWORD_MISMATCH is now properly returned in case of an encryption failure in the padding. The POLARSSL_ERR_X509_PASSWORD_REQUIRED error code is only returned for PEM formatted private keys as for DER formatted ones it is impossible to distinguish if a DER blob is PKCS#8 encrypted or not.
1.3 KiB
1.3 KiB