crypto/pkcs12: facilitate accessing data with non-interoperable password.
authorAndy Polyakov <appro@openssl.org>
Tue, 26 Jul 2016 14:42:41 +0000 (16:42 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 22 Aug 2016 11:52:59 +0000 (13:52 +0200)
commit1194ea8dc3b51a35c9947ed276f38436abee5743
tree3019d2d78ff46aea68ab706720222268d91bda6a
parentb799aef863a81c9a9d5dbffae12cca912ae348b2
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>
.gitattributes
crypto/pkcs12/p12_crpt.c
crypto/pkcs12/p12_lcl.h
crypto/pkcs12/p12_mutl.c
crypto/pkcs12/p12_utl.c
doc/apps/pkcs12.pod
include/openssl/pkcs12.h
test/recipes/80-test_pkcs12.t