mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 22:06:38 +01:00
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. (cherry picked from commit 1fd4321ba2016dfaff2b48c11f731fc9ccbd7ccf) Conflicts: include/polarssl/error.h scripts/generate_errors.pl |
||
|---|---|---|
| .. | ||
| data_files | ||
| bump_version.sh | ||
| check_doxy_blocks.pl | ||
| generate_errors.pl | ||