accept octet strings in is_asn1() check

This commit is contained in:
Martin Willi 2009-09-03 15:35:05 +02:00
parent d176994235
commit 3e15f99189
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ bool is_asn1(chunk_t blob)
u_int len;
u_char tag = *blob.ptr;
if (tag != ASN1_SEQUENCE && tag != ASN1_SET)
if (tag != ASN1_SEQUENCE && tag != ASN1_SET && tag != ASN1_OCTET_STRING)
{
DBG2(" file content is not binary ASN.1");
return FALSE;