Remove and return an attribute from an EVP_PKEY by index.
Declared in <openssl/x509.h>
X509_ATTRIBUTE*
EVP_PKEY_delete_attr(
EVP_PKEY* key,
int loc);
Removed X509_ATTRIBUTE (caller frees), or NULL if loc is invalid.
| Name | Description |
|---|---|
| key | Key whose attribute stack is modified. |
| loc | Zero-based attribute index. |