test the difference between "" and NULL password.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20662 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-05-10 22:01:54 +00:00
parent 4d04026180
commit 9666a5b5d4

View File

@@ -69,6 +69,15 @@ struct tests p12_pbe_tests[] = {
EVP_sha1,
"\xd7\x2d\xd4\xcf\x7e\xe1\x89\xc5\xb5\xe5\x31\xa7\x63\x2c\xf0\x4b"
},
{ PKCS12_KEY_ID,
"",
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",
16,
100,
16,
EVP_sha1,
"\x00\x54\x91\xaf\xc0\x6a\x76\xc3\xf9\xb6\xf2\x28\x1a\x15\xd9\xfe"
},
{ PKCS12_KEY_ID,
"foobar",
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",