[#EVP_PKEY_delete_attr] = EVP_PKEY_delete_attr :mrdocs: Remove and return an attribute from an EVP_PKEY by index. == Synopsis Declared in `<openssl/x509.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509_ATTRIBUTE.adoc[X509_ATTRIBUTE]* EVP_PKEY_delete_attr( xref:EVP_PKEY.adoc[EVP_PKEY]* key, int loc); ---- == Return Value Removed X509_ATTRIBUTE (caller frees), or NULL if `loc` is invalid. == Parameters [cols="1,4"] |=== | Name| Description | *key* | Key whose attribute stack is modified. | *loc* | Zero‐based attribute index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#