crypto/pkcs12: facilitate accessing data with non-interoperable password.

Originally PKCS#12 subroutines treated password strings as ASCII.
It worked as long as they were pure ASCII, but if there were some
none-ASCII characters result was non-interoperable. But fixing it
poses problem accessing data protected with broken password. In
order to make asscess to old data possible add retry with old-style
password.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2016-07-26 16:42:41 +02:00
parent b799aef863
commit 1194ea8dc3
8 changed files with 144 additions and 27 deletions

1
.gitattributes vendored
View file

@ -1,2 +1,3 @@
*.der binary
/fuzz/corpora/** binary
*.pfx binary