From 3a71a35ad9dad0e5d2cad8efecc8ba9d57c42d43 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 9 Jun 2026 12:21:35 -0700 Subject: openssl: import 3.5.7 This change adds OpenSSL 3.5.7 from upstream [1]. The 3.5.7 artifact was been verified via PGP key [2] and by SHA256 checksum [3]. This change is a security release which resolves several issues with OpenSSL 3.5, the highest severity issue being ranked "High". Users are strongly encouraged to update to this release. More information about the release (from a high level) can be found in the release notes [4]. Updated via [5] with `update_openssl.sh 3.5.7`. Approved by: so (gordon; implicit) 1. https://github.com/openssl/openssl/releases/download/openssl-3.5.7/openssl-3.5.7.tar.gz 2. https://github.com/openssl/openssl/releases/download/openssl-3.5.7/openssl-3.5.7.tar.gz.asc 3. https://github.com/openssl/openssl/releases/download/openssl-3.5.7/openssl-3.5.7.tar.gz.sha256 4. https://github.com/openssl/openssl/blob/openssl-3.5.7/NEWS.md 5. https://codeberg.org/ngie/freebsd-powertools/src/branch/main/shell/update_openssl.sh (facdfe954) --- crypto/param_build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/param_build.c') diff --git a/crypto/param_build.c b/crypto/param_build.c index 4e90c581a0eb..d37b18c4dd89 100644 --- a/crypto/param_build.c +++ b/crypto/param_build.c @@ -345,7 +345,7 @@ int OSSL_PARAM_BLD_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key, { OSSL_PARAM_BLD_DEF *pd; - if (bld == NULL || key == NULL) { + if (bld == NULL || key == NULL || buf == NULL) { ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER); return 0; } @@ -365,7 +365,7 @@ int OSSL_PARAM_BLD_push_octet_string(OSSL_PARAM_BLD *bld, const char *key, OSSL_PARAM_BLD_DEF *pd; int secure; - if (bld == NULL || key == NULL || buf == NULL) { + if (bld == NULL || key == NULL || (buf == NULL && bsize != 0)) { ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER); return 0; } @@ -383,7 +383,7 @@ int OSSL_PARAM_BLD_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key, { OSSL_PARAM_BLD_DEF *pd; - if (bld == NULL || key == NULL) { + if (bld == NULL || key == NULL || (buf == NULL && bsize != 0)) { ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER); return 0; } -- cgit v1.3