[#ASN1_BIT_STRING_set_asc] = ASN1_BIT_STRING_set_asc :mrdocs: Set or clear a named bit in an ASN.1 bit string using a name table. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_BIT_STRING_set_asc( xref:ASN1_BIT_STRING.adoc[ASN1_BIT_STRING]* bs, char const* name, int value, xref:BIT_STRING_BITNAME.adoc[BIT_STRING_BITNAME]* tbl); ---- == Return Value 1 on success, or 0 if `name` is not found in `tbl.` == Parameters [cols="1,4"] |=== | Name| Description | *bs* | Bit string to update. | *name* | Bit name to look up in `tbl.` | *value* | Non‐zero to set the bit, or 0 to clear it. | *tbl* | Table of bit names and bit numbers (BIT_STRING_BITNAME entries). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#