Test whether bit n is set in an ASN.1 BIT STRING.
Declared in <openssl/asn1.h>
int
ASN1_BIT_STRING_get_bit(
ASN1_BIT_STRING const* a,
int n);
1 if the bit is set, or 0 if clear / out of range / a is NULL.
| Name | Description |
|---|---|
| a | Bit string to query; NULL or short strings are treated as clear. |
| n | Zero-based bit index. |