[openssl] master update

Dr. Paul Dale pauli at openssl.org
Thu Apr 15 10:25:44 UTC 2021


The branch master has been updated
       via  9c1b19eb6f51fd6785cc61418e10070af83df1d2 (commit)
      from  7e43baed2a4cc050b301650c4a45ebdd54a30b5f (commit)


- Log -----------------------------------------------------------------
commit 9c1b19eb6f51fd6785cc61418e10070af83df1d2
Author: Pauli <pauli at openssl.org>
Date:   Wed Apr 14 12:26:41 2021 +1000

    changes: note that some ctrl calls have a different error return.
    
    Providers do not distinguish between invalid and other errors via the return
    code.
    
    Fixes #14442
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14864)

-----------------------------------------------------------------------

Summary of changes:
 CHANGES.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CHANGES.md b/CHANGES.md
index a2a281637f..76ba709c0e 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -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


More information about the openssl-commits mailing list