summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2000-05-24 02:22:18 +0000
committernelsonb%netscape.com <devnull@localhost>2000-05-24 02:22:18 +0000
commita7f6a525ee3b9880957c4b1fe9dc34cf975f6183 (patch)
treead91dc150ec07347f52421b7db80c4c2bc1c943e
parent54bcd76a24bc22183fac27396de712612b6a1121 (diff)
downloadnss-hg-a7f6a525ee3b9880957c4b1fe9dc34cf975f6183.tar.gz
Fix a transcription error that caused a crash.
-rw-r--r--security/nss/lib/pk11wrap/pk11skey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/pk11skey.c b/security/nss/lib/pk11wrap/pk11skey.c
index a0dd11508..63c13527a 100644
--- a/security/nss/lib/pk11wrap/pk11skey.c
+++ b/security/nss/lib/pk11wrap/pk11skey.c
@@ -2561,7 +2561,7 @@ pk11_HandUnwrap(PK11SlotInfo *slot, CK_OBJECT_HANDLE wrappingKey,
return NULL;
}
- outKey.len == (key_size = 0) ? len : key_size;
+ outKey.len = (key_size == 0) ? len : key_size;
if (PK11_DoesMechanism(slot,target)) {
symKey = pk11_ImportSymKeyWithTempl(slot, target, PK11_OriginUnwrap,