Append a duplicate of attr to an X509_ATTRIBUTE stack, creating the stack if needed.
Synopsis
Declared in <openssl/x509.h>
stack_st_X509_ATTRIBUTE*
X509at_add1_attr(
stack_st_X509_ATTRIBUTE** x,
X509_ATTRIBUTE* attr);
Return Value
-
The attribute stack on success, or NULL on failure.
-
The attribute stack on success, or NULL on failure.
Parameters
Name |
Description |
x |
Address of a STACK_OF(X509_ATTRIBUTE) pointer; allocated if *`x` is NULL. |
attr |
Attribute to duplicate and append. |
Created with MrDocs