summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--psession.c2
1 files changed, 1 insertions, 1 deletions
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,