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 -1
View File
@@ -506,7 +506,7 @@ bool is_asn1(chunk_t blob)
u_int len; u_int len;
u_char tag = *blob.ptr; 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"); DBG2(" file content is not binary ASN.1");
return FALSE; return FALSE;