Set or clear a single bit in an ASN.1 BIT STRING.
Declared in <openssl/asn1.h>
int
ASN1_BIT_STRING_set_bit(
ASN1_BIT_STRING* a,
int n,
int value);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| a | Bit string to update (resized as needed). |
| n | Zero-based bit index to change. |
| value | Nonzero to set the bit, or 0 to clear it. |