Append a duplicate of attr to an X509_ATTRIBUTE stack, creating the stack if needed.

Synopsis

Declared in <openssl/x509.h>

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