Append a copy of attr to an EVP_PKEY attribute list, creating the list if needed.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| key | Key whose attribute stack is updated. |
| attr | Attribute to copy onto the key; must be non-NULL and not already present. |