diff options
author | Kamil Dudka <kdudka@redhat.com> | 2009-05-27 16:17:42 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-05-29 12:55:41 -0400 |
commit | 27654eb42b27e296bb2375aa929b550daadc4d81 (patch) | |
tree | 08d1f75719cec0d112a392c291e0a3a94d624c3b /psession.c | |
parent | f32266d0b8d4bfa2f228c0d3c3ed9869a2b3eb50 (diff) | |
download | pemnss-27654eb42b27e296bb2375aa929b550daadc4d81.tar.gz pemnss-27654eb42b27e296bb2375aa929b550daadc4d81.tar.xz pemnss-27654eb42b27e296bb2375aa929b550daadc4d81.zip |
Support arbitrarily long password while loading a private key.
Reported by Michael Cronenworth.
500180
Diffstat (limited to 'psession.c')
-rw-r--r-- | psession.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -343,7 +343,7 @@ pem_mdSession_Login iv = convert_iv(io->u.key.ivstring, 8); /* Convert the PIN and IV into a DES key */ - make_key(iv, pin->data, 8, mykey); + make_key(iv, pin->data, pin->size, mykey); output = (unsigned char *) nss_ZAlloc(NULL, |