Fix CAC-introduced bug that broke access to certificates (@dengert found it) (#1032)
Regression from 777e2a3751
This commit is contained in:
parent
6bfb39454b
commit
13f61eee7b
|
@ -316,7 +316,7 @@ sc_pkcs15_get_bitstring_extension(struct sc_context *ctx,
|
|||
u8 *bit_string = NULL;
|
||||
size_t bit_string_len=0, val_len = sizeof(*value);
|
||||
struct sc_asn1_entry asn1_bit_string[] = {
|
||||
{ "bitString", SC_ASN1_BIT_STRING_NI, SC_ASN1_TAG_BIT_STRING, 0, value, &val_len },
|
||||
{ "bitString", SC_ASN1_BIT_STRING, SC_ASN1_TAG_BIT_STRING, 0, value, &val_len },
|
||||
{ NULL, 0, 0, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue