diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-12-04 11:16:45 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-01-04 14:51:48 +0100 |
commit | 98d6016afec4c0bc7bb8f33b5061beb8528cc74a (patch) | |
tree | c3ae8ee7574e1f36a161da74eb5e4b9f7285124f /CHANGES.md | |
parent | cleanse stack variable in blake2[b|s] finalization (diff) | |
download | openssl-98d6016afec4c0bc7bb8f33b5061beb8528cc74a.tar.xz openssl-98d6016afec4c0bc7bb8f33b5061beb8528cc74a.zip |
Make OPENSSL_sk_push return only 0 or 1
Most of the callers do not actually check for
the special -1 return condition because they do not
pass NULL to it. It is also extremely improbable that
any code depends on this -1 return value in this condition
so it can be safely changed to 0 return.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/22930)
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index 43f874ff9c..625eacb6d4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -41,6 +41,11 @@ OpenSSL 3.3 *Neil Horman* + * OPENSSL_sk_push() and sk_<TYPE>_push() functions now return 0 instead of -1 + if called with a NULL stack argument. + + *Tomáš Mráz* + * In `openssl speed`, changed the default hash function used with `hmac` from `md5` to `sha256`. |