Use the enumeration constant 'siBuffer' instead of 0.

git-svn-id: svn://10.0.0.236/trunk@130808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com 2002-09-30 20:36:54 +00:00
parent 886a419672
commit 45321d5b82

View File

@ -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)