Remove and return the attribute at index loc from an attribute stack.

Synopsis

Declared in <openssl/x509.h>

X509_ATTRIBUTE*
X509at_delete_attr(
    stack_st_X509_ATTRIBUTE* x,
    int loc);

Return Value

Detached X509_ATTRIBUTE (caller frees), or NULL on error.

Parameters

Name

Description

x

Attribute stack to modify.

loc

Zero‐based attribute index.

Created with MrDocs