Bug #1091 » decode_der.patch
src/util-decode-der.c | ||
---|---|---|
Asn1Generic *cert;
|
||
uint8_t c;
|
||
if (errcode)
|
||
*errcode = ERR_DER_GENERIC;
|
||
/* Check that buffer is an ASN.1 structure (basic checks) */
|
||
if (d_ptr[0] != 0x30 && d_ptr[1] != 0x82) /* Sequence */
|
||
return NULL;
|
- « Previous
- 1
- 2
- Next »