From 3f9f0d1086c04fa2151904f803464080667f983b Mon Sep 17 00:00:00 2001 From: "relyea%netscape.com" Date: Thu, 22 Feb 2001 18:27:28 +0000 Subject: Fix mismatched parameter problem. --- security/nss/lib/softoken/pkcs11c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/nss/lib/softoken/pkcs11c.c b/security/nss/lib/softoken/pkcs11c.c index 39c0149ca..5bf4450c1 100644 --- a/security/nss/lib/softoken/pkcs11c.c +++ b/security/nss/lib/softoken/pkcs11c.c @@ -735,7 +735,7 @@ finish_des: (unsigned char*)att->attrib.pValue, (unsigned char*)pMechanism->pParameter, pMechanism->mechanism == CKM_AES_ECB ? NSS_AES : NSS_AES_CBC, - att->attrib.ulValueLen,16); + PR_TRUE, att->attrib.ulValueLen, 16); pk11_FreeAttribute(att); if (context->cipherInfo == NULL) { crv = CKR_HOST_MEMORY; @@ -1143,7 +1143,7 @@ finish_des: (unsigned char*)att->attrib.pValue, (unsigned char*)pMechanism->pParameter, pMechanism->mechanism == CKM_AES_ECB ? NSS_AES : NSS_AES_CBC, - att->attrib.ulValueLen,16); + PR_TRUE, att->attrib.ulValueLen,16); pk11_FreeAttribute(att); if (context->cipherInfo == NULL) { crv = CKR_HOST_MEMORY; -- cgit v1.2.1