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:
parent
886a419672
commit
45321d5b82
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user