}
if (tag != FR_DER_TAG_SEQUENCE) {
- fr_strerror_printf("Expected SEQUENCE tag as the first item in an extensions list. Got tag %u", tag);
+ fr_strerror_printf("Expected 'sequence' tag as the first item in an extensions list. Got tag %s",
+ fr_der_tag_to_str(tag));
slen = -1;
goto error;
}
}
if (tag != FR_DER_TAG_SEQUENCE) {
- fr_strerror_printf("Expected SEQUENCE tag as the first tag in an extension. Got tag %u",
- tag);
+ fr_strerror_printf("Expected 'sequence' tag as the first tag in an extension. Got tag %s",
+ fr_der_tag_to_str(tag));
slen = -1;
goto error;
}
}
if (tag != FR_DER_TAG_OID) {
- fr_strerror_printf("Expected OID tag as the first item in an extension. Got tag %u", tag);
+ fr_strerror_printf("Expected OID tag as the first item in an extension. Got tag %s",
+ fr_der_tag_to_str(tag));
slen = -1;
goto error;
}