diff options
author | relyea%netscape.com <devnull@localhost> | 2001-02-22 18:27:28 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2001-02-22 18:27:28 +0000 |
commit | 3f9f0d1086c04fa2151904f803464080667f983b (patch) | |
tree | eede0fb9aa0018cb197b9f4279c49f4543dace70 | |
parent | b7cedbecd7f5a8477a872ef533033d274bd6dc76 (diff) | |
download | nss-hg-3f9f0d1086c04fa2151904f803464080667f983b.tar.gz |
Fix mismatched parameter problem.
-rw-r--r-- | security/nss/lib/softoken/pkcs11c.c | 4 |
1 files 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; |