commit | a4232a7ccbd95d6ea6664bc47e145a91f870cac4 | [log] [download] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Jun 24 19:32:25 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 25 15:06:53 2013 +0200 |
tree | 53770d02101e3312561844719ae732509498bd05 | |
parent | 72823091c232311c17b22afffd2d74824a11f371 [diff] |
x509parse_crt() and x509parse_crt_der() return X509 password related codes POLARSSL_ERR_X509_PASSWORD_MISMATCH is returned instead of POLARSSL_ERR_PEM_PASSWORD_MISMATCH and POLARSSL_ERR_X509_PASSWORD_REQUIRED instead of POLARSSL_ERR_PEM_PASSWORD_REQUIRED Rationale: For PKCS#8 encrypted keys the same are returned (cherry picked from commit b495d3a2c755f9fd3c8b755d78d7a92d66245c57)