diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-10-09 05:42:23 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-10-09 16:45:45 +1100 |
commit | edbb6febccee084d212fdc0cb05b40cb1c646ab1 (patch) | |
tree | e98550d002bc10f90c0b9256e18af5107d64bf4a /regress/keys-command.sh | |
parent | 2581333d564d8697837729b3d07d45738eaf5a54 (diff) |
upstream: Treat all PEM_read_bio_PrivateKey() errors when a passphrase
is specified as "incorrect passphrase" instead of trying to choose between
that and "invalid format".
libcrypto can return ASN1 parsing errors rather than the expected
decrypt error in certain infrequent cases when trying to decrypt/parse
PEM private keys when supplied with an invalid passphrase.
Report and repro recipe from Thomas Deutschmann in bz#2901
ok markus@
OpenBSD-Commit-ID: b1d4cd92395f9743f81c0d23aab2524109580870
Diffstat (limited to 'regress/keys-command.sh')
0 files changed, 0 insertions, 0 deletions