]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
changes: note that some ctrl calls have a different error return.
authorPauli <pauli@openssl.org>
Wed, 14 Apr 2021 02:26:41 +0000 (12:26 +1000)
committerPauli <pauli@openssl.org>
Thu, 15 Apr 2021 10:25:24 +0000 (20:25 +1000)
Providers do not distinguish between invalid and other errors via the return
code.

Fixes #14442

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14864)

CHANGES.md

index a2a281637f73b756b44eb83bd36fbaf43509294d..76ba709c0e9b5992d62dc0d18a4c0e5573a4eb75 100644 (file)
@@ -29,6 +29,12 @@ OpenSSL 3.0
 
    *Boris Pismenny, John Baldwin and Andrew Gallatin*
 
+ * 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.
+
+   *Paul Dale*
+
  * A public key check is now performed during EVP_PKEY_derive_set_peer().
    Previously DH was internally doing this during EVP_PKEY_derive().
    To disable this check use EVP_PKEY_derive_set_peer_ex(dh, peer, 0). This