<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test/params_api_test.c, branch openssl-3.4.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2025-07-01T11:55:48Z</updated>
<entry>
<title>Copyright year updates</title>
<updated>2025-07-01T11:55:48Z</updated>
<author>
<name>openssl-machine</name>
<email>openssl-machine@openssl.org</email>
</author>
<published>2025-07-01T11:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b426d08003e6063faef3819bdac660230dd687a9'/>
<id>urn:sha1:b426d08003e6063faef3819bdac660230dd687a9</id>
<content type='text'>
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Fix nullpointer dereference in OSSL_PARAM_merge</title>
<updated>2025-06-30T10:14:13Z</updated>
<author>
<name>Christian Vögl</name>
<email>christian.voegl@ncp-e.com</email>
</author>
<published>2025-06-26T16:37:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7395f5a930c7c1257116c15e086a80fc5364e084'/>
<id>urn:sha1:7395f5a930c7c1257116c15e086a80fc5364e084</id>
<content type='text'>
OSSL_PARAM_merge contained an error, where a nullpointer was
dereferenced when both parameter arrays ended with the same key

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/27910)

(cherry picked from commit 63cb8f99a13fdc4c7c3b1e88d66a3ff70b72e642)
</content>
</entry>
<entry>
<title>Fix buggy stringop-overflow error on s390</title>
<updated>2025-06-20T15:00:50Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@openssl.org</email>
</author>
<published>2025-06-20T14:22:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5d5573cab3c182d12c1789e913272e2f6dae4f1f'/>
<id>urn:sha1:5d5573cab3c182d12c1789e913272e2f6dae4f1f</id>
<content type='text'>
Despite some recent changes to our s390 builds, we're still seeing
errors due to some stringop-overflow warnings:
https://github.com/openssl/openssl/actions/runs/15748518222/job/44389197443

It appears to be caused because the static analysis that gcc preforms in
gcc 12 (the version of the compiler on our s390 runner), fails to infer
the proper sizes of the buffer on which we do the reverse memcpy in
swap_copy(), resulting in warnings, which on --strict-warnings builds,
breaks us.

Fix it by using inlen rather than outlen to limit the copy length,
adjusting it if need be to match the size of the output buffer in
le_copy().  This allows the compiler to properly infer the array length
constraints and suppress the warnings.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/27864)

(cherry picked from commit 837592dcd994a22a7c8d08bf3cf421f6b2e51280)
</content>
</entry>
<entry>
<title>Silence -Wstringop-overflow warnings with gcc 14 on s390x</title>
<updated>2025-06-10T17:49:14Z</updated>
<author>
<name>Ingo Franzki</name>
<email>ifranzki@linux.ibm.com</email>
</author>
<published>2025-05-28T06:55:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=44aa8381ffcff0b0c44b28461dfed6aa2b522976'/>
<id>urn:sha1:44aa8381ffcff0b0c44b28461dfed6aa2b522976</id>
<content type='text'>
Compiling OpenSSL on s390x with gcc 14 (i.e. in Fedora 41) shows several
-Wstringop-overflow warnings in providers/implementations/rands/drbg_ctr.c
and test/params_api_test.c.

Add explicit length checks to let the compiler know that it won't overrun
the buffer. This also silences the warnings.

Signed-off-by: Ingo Franzki &lt;ifranzki@linux.ibm.com&gt;

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/27710)

(cherry picked from commit 9a788281d91f698d6a229d588b9cb36987549669)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2024-04-09T11:43:26Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2024-03-20T12:07:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b646179229927601bad3ec305fbd12dae98eb9b9'/>
<id>urn:sha1:b646179229927601bad3ec305fbd12dae98eb9b9</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
(cherry picked from commit 0ce7d1f355c1240653e320a3f6f8109c1f05f8c0)

Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/24034)
</content>
</entry>
<entry>
<title>Check appropriate OSSL_PARAM_get_* functions for NULL</title>
<updated>2024-01-09T15:56:55Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@openssl.org</email>
</author>
<published>2023-12-18T15:55:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=806bbafe2df5b699feac6ef26e50c14e701950cf'/>
<id>urn:sha1:806bbafe2df5b699feac6ef26e50c14e701950cf</id>
<content type='text'>
The base type OSSL_PARAM getters will NULL deref if they are initalized
as null.  Add NULL checks for those parameters that have no expectation
of returning null (int32/64/uint32/64/BN).  Other types can be left as
allowing NULL, as a NULL setting may be meaningful (string, utf8str,
octet string, etc).

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/23083)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2022-05-03T12:34:51Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2022-05-03T10:52:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=fecb3aae22aeda493f348739ebf7943071ecdbe1'/>
<id>urn:sha1:fecb3aae22aeda493f348739ebf7943071ecdbe1</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Fix endianness problem in params_api_test</title>
<updated>2022-02-01T03:01:51Z</updated>
<author>
<name>Juergen Christ</name>
<email>jchrist@linux.ibm.com</email>
</author>
<published>2022-01-28T09:53:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9927749ec2b8fc4b6146f0bd54cb6a44b8295974'/>
<id>urn:sha1:9927749ec2b8fc4b6146f0bd54cb6a44b8295974</id>
<content type='text'>
On a big endian machine, we get test failures in params_api_test like

        # ERROR: (memory) 'buf1 == buf2' failed @ test/params_api_test.c:473
        # --- buf1
        # +++ buf2
        # 0000:-e901
        # 0000:+01e9
        #       ^^^^
        #
        # OPENSSL_TEST_RAND_ORDER=1643313367
        not ok 157 - iteration 3

They are due to an additional conversion copy.  Remove this copy to solve the
problem.

Signed-off-by: Juergen Christ &lt;jchrist@linux.ibm.com&gt;

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17608)
</content>
</entry>
<entry>
<title>TEST: Add addition OSSL_PARAM tests for signed BIGNUMs</title>
<updated>2022-01-26T20:35:40Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2021-11-28T17:03:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=748a2967ffd52cf86696582fb1074d513493f469'/>
<id>urn:sha1:748a2967ffd52cf86696582fb1074d513493f469</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17162)
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2022-01-05T11:37:20Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2022-01-02T23:00:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e304aa87b35fac5ea97c405dd3c21549faa45e78'/>
<id>urn:sha1:e304aa87b35fac5ea97c405dd3c21549faa45e78</id>
<content type='text'>
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/17392)
</content>
</entry>
</feed>
