diff options
author | relyea%netscape.com <devnull@localhost> | 2002-01-30 00:48:24 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2002-01-30 00:48:24 +0000 |
commit | 46776175a9e316b728e80056bb38ed67bec41bfa (patch) | |
tree | 4fd2451fe3fa29522f32cedbd7e5122e564dae19 | |
parent | 2a25d688052389c3b4bbf58c346fbcff1da21861 (diff) | |
download | nss-hg-46776175a9e316b728e80056bb38ed67bec41bfa.tar.gz |
Unsigned values are always greater than '0'!
-rw-r--r-- | security/nss/lib/dev/ckhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/dev/ckhelper.c b/security/nss/lib/dev/ckhelper.c index 6daf808ac..2088a40db 100644 --- a/security/nss/lib/dev/ckhelper.c +++ b/security/nss/lib/dev/ckhelper.c @@ -138,7 +138,7 @@ nssCKObject_GetAttributes for (i=0; i<count; i++) { CK_ULONG ulValueLen = obj_template[i].ulValueLen; if (ulValueLen == 0) continue; - if (ulValueLen < 0) { + if (ulValueLen == (CK_ULONG) -1) { obj_template[i].ulValueLen = 0; continue; } |