From 27654eb42b27e296bb2375aa929b550daadc4d81 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 27 May 2009 16:17:42 +0200 Subject: Support arbitrarily long password while loading a private key. Reported by Michael Cronenworth. 500180 --- psession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psession.c b/psession.c index 472e0b1..a25b70a 100644 --- a/psession.c +++ b/psession.c @@ -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, -- cgit