Append a duplicate of attr to an X509_ATTRIBUTE stack, creating the stack if needed.
Declared in <openssl/x509.h>
stack_st_X509_ATTRIBUTE*
X509at_add1_attr(
stack_st_X509_ATTRIBUTE** x,
X509_ATTRIBUTE* attr);
| Name | Description |
|---|---|
| x | Address of a STACK_OF(X509_ATTRIBUTE) pointer; allocated if *x is NULL. |
| attr | Attribute to duplicate and append. |