diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-28 12:43:12 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-30 11:06:47 +1000 |
commit | 9ac653d81a857a5452f9f25278a24e1dfb226905 (patch) | |
tree | c6079f4024a46895746b82c7859c48f7b7d569ac /CHANGES.md | |
parent | 0b31c36797a36c4cc17dd634de7e254290f8dac6 (diff) |
Document the API breaking constification changes
The EVP_PKEY_asn1_set_public and EVP_PKEY_meth_set_copy have
some API breaking constification changes in 3.0.
Fixes #9296
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15068)
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index e93d5df75a..0abee0a0ac 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -77,6 +77,15 @@ OpenSSL 3.0 *Boris Pismenny, John Baldwin and Andrew Gallatin* + * The signature of the `copy` functional parameter of the + EVP_PKEY_meth_set_copy() function has changed so its `src` argument is + now `const EVP_PKEY_CTX *` instead of `EVP_PKEY_CTX *`. Similarly + the signature of the `pub_decode` functional parameter of the + EVP_PKEY_asn1_set_public() function has changed so its `pub` argument is + now `const X509_PUBKEY *` instead of `X509_PUBKEY *`. + + *David von Oheimb* + * The error return values from some control calls (ctrl) have changed. One significant change is that controls which used to return -2 for invalid inputs, now return -1 indicating a generic error condition instead. |