summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-10-09 05:42:23 +0000
committerDamien Miller <djm@mindrot.org>2018-10-09 16:45:45 +1100
commitedbb6febccee084d212fdc0cb05b40cb1c646ab1 (patch)
treee98550d002bc10f90c0b9256e18af5107d64bf4a /openbsd-compat
parent2581333d564d8697837729b3d07d45738eaf5a54 (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 'openbsd-compat')
0 files changed, 0 insertions, 0 deletions