added missing handling of new type LTC_ASN1_RAW_BIT_STRING in der_encode_sequence_multi()
This commit is contained in:
parent
43c6b5ab89
commit
25bd5c1275
@ -64,6 +64,7 @@ int der_encode_sequence_multi(unsigned char *out, unsigned long *outlen, ...)
|
|||||||
case LTC_ASN1_SEQUENCE:
|
case LTC_ASN1_SEQUENCE:
|
||||||
case LTC_ASN1_SET:
|
case LTC_ASN1_SET:
|
||||||
case LTC_ASN1_SETOF:
|
case LTC_ASN1_SETOF:
|
||||||
|
case LTC_ASN1_RAW_BIT_STRING:
|
||||||
++x;
|
++x;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -111,6 +112,7 @@ int der_encode_sequence_multi(unsigned char *out, unsigned long *outlen, ...)
|
|||||||
case LTC_ASN1_SEQUENCE:
|
case LTC_ASN1_SEQUENCE:
|
||||||
case LTC_ASN1_SET:
|
case LTC_ASN1_SET:
|
||||||
case LTC_ASN1_SETOF:
|
case LTC_ASN1_SETOF:
|
||||||
|
case LTC_ASN1_RAW_BIT_STRING:
|
||||||
list[x].type = type;
|
list[x].type = type;
|
||||||
list[x].size = size;
|
list[x].size = size;
|
||||||
list[x++].data = data;
|
list[x++].data = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user