summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-09-30 20:36:54 +0000
committerwtc%netscape.com <devnull@localhost>2002-09-30 20:36:54 +0000
commit84a98db8edcd29392a1c80042d1ec8d490af6ed2 (patch)
tree53d29f45dc230bd225505ade7d68c6b1a27423aa
parent853cca3350c8b57ab67d00809e0b3e08ae022e34 (diff)
downloadnss-hg-84a98db8edcd29392a1c80042d1ec8d490af6ed2.tar.gz
Use the enumeration constant 'siBuffer' instead of 0.
-rw-r--r--security/nss/lib/util/quickder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/util/quickder.c b/security/nss/lib/util/quickder.c
index 8121defe5..976f585cc 100644
--- a/security/nss/lib/util/quickder.c
+++ b/security/nss/lib/util/quickder.c
@@ -110,12 +110,12 @@ static SECStatus GetItem(SECItem* src, SECItem* dest, PRBool includeTag)
/* reaching the end of the buffer is not an error */
dest->data = NULL;
dest->len = 0;
- dest->type = 0;
+ dest->type = siBuffer;
return SECSuccess;
}
- dest->type = 0;
+ dest->type = siBuffer;
dest->data = definite_length_decoder(src->data, src->len, &dest->len,
includeTag);
if (dest->data == NULL)