Revert "Do not crash if password is null and GNUTLS_PKCS_PLAIN is not specified."
commitf6535bc44280c0b75e13274574645ba2dc36c008
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 4 Aug 2012 10:57:59 +0000 (4 12:57 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 4 Aug 2012 10:58:18 +0000 (4 12:58 +0200)
treeba5e2d6fd705d433d32339690fb1125247472c11
parentb4222f5db3a8dc197068cce867f458ed333b5dec
Revert "Do not crash if password is null and GNUTLS_PKCS_PLAIN is not specified."
This allows decrypting PKCS #12 structures that are encrypted with a NULL password (which is different than empty).

This reverts commit 7b20e72332e3e5238e8236375a2a82b1387e2e06.
lib/x509/privkey_pkcs8.c