ASN1_BIT_STRING_new.3ossl - Man Page

ASN1_BIT_STRING allocation functions

Synopsis

 #include <openssl/asn1.h>

 ASN1_BIT_STRING *ASN1_BIT_STRING_new(void);
 void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a);

Description

ASN1_BIT_STRING_new() returns an allocated ASN1_BIT_STRING structure.

ASN1_BIT_STRING_free() frees up a single ASN1_BIT_STRING object. If the argument is NULL, nothing is done.

ASN1_BIT_STRING structure representing the ASN.1 BIT_STRING type.

Return Values

ASN1_BIT_STRING_new() return a valid ASN1_BIT_STRING structure or NULL if an error occurred.

ASN1_BIT_STRING_free() does not return a value.

See Also

ERR_get_error(3)

Referenced By

The man page ASN1_BIT_STRING_free.3ossl(3) is an alias of ASN1_BIT_STRING_new.3ossl(3).

2026-06-09 4.0.1 OpenSSL