<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl, branch openssl-3.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2025-11-24T18:23:05Z</updated>
<entry>
<title>doc: Discuss calling X509_verify_cert in cert_verify_callback</title>
<updated>2025-11-24T18:23:05Z</updated>
<author>
<name>David Benjamin</name>
<email>davidben@google.com</email>
</author>
<published>2025-10-20T21:38:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=14ddbcee237cb99b3921c352852b4d4fadbb8e6c'/>
<id>urn:sha1:14ddbcee237cb99b3921c352852b4d4fadbb8e6c</id>
<content type='text'>
Using SSL_CTX_set_cert_verify_callback but still calling
X509_verify_cert is useful if applications want to dynamically
configure the X509_STORE_CTX, or postprocess the result, in a way that
does not quite fit the somewhat unpredictable behavior of the
SSL_CTX_set_verify callback. (In my experience, applications rarely
realize it is called multiple times. It's also too late at that point to
reconfigure the X509_STORE_CTX as verification has already started.)

There is one note in the docs that the callback needs to stash the
verify result with X509_STORE_CTX_set_error, but it is not immediately
obvious that X509_verify_cert will do so, or that it is the built-in
behavior. Add a paragraph discussing this.

Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Viktor Dukhovni &lt;viktor@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28960)

(cherry picked from commit 069181d7f39beaae22bfa67bcba3c5fe93acafd4)
</content>
</entry>
<entry>
<title>doc/man3/X509_STORE_get0_param.pod: mention how to free the returned objects</title>
<updated>2025-11-24T18:14:56Z</updated>
<author>
<name>Eugene Syromiatnikov</name>
<email>esyr@openssl.org</email>
</author>
<published>2025-10-27T09:17:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9a30e1411294575c9ceecb87edef4331b1643913'/>
<id>urn:sha1:9a30e1411294575c9ceecb87edef4331b1643913</id>
<content type='text'>
It is not entirely obvious from the description how the objects returned
by X509_STORE_get1_all_certs() are supposed to be freed, explicitly mention
the relevant call, and provide a reference to DEFINE_STACK_OF(3).

Signed-off-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;

Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/29016)
</content>
</entry>
<entry>
<title>asn1: clear error mark on success in asn1_d2i_read_bio</title>
<updated>2025-11-24T18:12:16Z</updated>
<author>
<name>Joshua Rogers</name>
<email>MegaManSec@users.noreply.github.com</email>
</author>
<published>2025-10-11T12:40:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b7fdb88e73df380aaca0171ef9488f81e689d741'/>
<id>urn:sha1:b7fdb88e73df380aaca0171ef9488f81e689d741</id>
<content type='text'>
Balance ERR_set_mark by calling ERR_clear_last_mark on the success path.
Prevents a stale mark from skewing later error handling.

Signed-off-by: Joshua Rogers &lt;MegaManSec@users.noreply.github.com&gt;

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

(cherry picked from commit 7f015c909ee3480a59d4fe828c3da22c7a55a2f4)
</content>
</entry>
<entry>
<title>crypto/bio/bss_acpt: reset accept_sock and b-&gt;num after close in ACPT_S_LISTEN failures</title>
<updated>2025-11-24T14:21:03Z</updated>
<author>
<name>Joshua Rogers</name>
<email>MegaManSec@users.noreply.github.com</email>
</author>
<published>2025-10-11T21:39:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cbf2a73144541db3be3c6374b43efcfaca765d7b'/>
<id>urn:sha1:cbf2a73144541db3be3c6374b43efcfaca765d7b</id>
<content type='text'>
On BIO_listen or BIO_sock_info failure we close the socket but leave
accept_sock and b-&gt;num pointing at the old fd. Later cleanup can double
close.

Set both to INVALID_SOCKET immediately after BIO_closesocket.

Signed-off-by: Joshua Rogers &lt;MegaManSec@users.noreply.github.com&gt;

Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28904)

(cherry picked from commit 1c4f7b10358b79a0b33619187caa2b7e3bdb6e7a)
</content>
</entry>
<entry>
<title>Correct information about the default value of the -md parameter</title>
<updated>2025-11-21T13:51:17Z</updated>
<author>
<name>Igor Ustinov</name>
<email>igus68@gmail.com</email>
</author>
<published>2025-11-19T15:21:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=4c05d28c979c3b04aff57bcfe81def4ce2d0a26c'/>
<id>urn:sha1:4c05d28c979c3b04aff57bcfe81def4ce2d0a26c</id>
<content type='text'>
of the openssl cms command.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29175)

(cherry picked from commit 2a7b058429938e40e20882a80bc5d2f426b145b8)
</content>
</entry>
<entry>
<title>doc/man3/OPENSSL_malloc.pod: mention rationale for OPENSSL_cleanse()</title>
<updated>2025-11-21T13:37:18Z</updated>
<author>
<name>Eugene Syromiatnikov</name>
<email>esyr@openssl.org</email>
</author>
<published>2025-11-19T14:19:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6ad9aa56865582db6191adc9ce5b1bb5dbdcaceb'/>
<id>urn:sha1:6ad9aa56865582db6191adc9ce5b1bb5dbdcaceb</id>
<content type='text'>
It was not entirely clear from the sole description, what is  the reason
for preferring OPENSSL_cleanse() over memset().  Add a note about situations
in which OPENSSL_cleanse() should be chosen.

Signed-off-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&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/29174)

(cherry picked from commit 768468f40e810ceef00b1c3b7cac05beaa1d8f8c)
</content>
</entry>
<entry>
<title>DOC: fix description of '-self_test_oninstall'</title>
<updated>2025-11-21T13:34:43Z</updated>
<author>
<name>Shohei YOSHIDA</name>
<email>syohex@gmail.com</email>
</author>
<published>2025-11-19T04:34:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1fe5cf84bfb1cf2815f6d4f1bce4859456ffd616'/>
<id>urn:sha1:1fe5cf84bfb1cf2815f6d4f1bce4859456ffd616</id>
<content type='text'>
CLA: trivial

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29168)

(cherry picked from commit 978cb1f9d1fb895f51feeee4cf700cf07a063e01)
</content>
</entry>
<entry>
<title>rand_lib.c: Use ERR_LIB_RAND with RAND_R errors</title>
<updated>2025-11-21T13:17:23Z</updated>
<author>
<name>Teshan Kannangara</name>
<email>90088670+TeshanK@users.noreply.github.com</email>
</author>
<published>2025-11-08T14:13:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=f3d44785777d60388654972fcbf5f3a422fbf974'/>
<id>urn:sha1:f3d44785777d60388654972fcbf5f3a422fbf974</id>
<content type='text'>
Use ERR_LIB_RAND when reporting RAND_R_ALREADY_INSTANTIATED from
RAND_set_DRBG_type() and RAND_set_seed_source_type() so the error
message references the RAND subsystem instead of CRYPTO.

Fixes #29039

CLA: trivial

Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29109)

(cherry picked from commit e7251fa1a92bcb1fda1dad7f7e2e3ed2c0056e27)
</content>
</entry>
<entry>
<title>bio_ok.c: Fixed undefined identifier 'SIZE_MAX'</title>
<updated>2025-11-19T15:01:15Z</updated>
<author>
<name>Lars Erik Wik</name>
<email>lars.erik.wik@northern.tech</email>
</author>
<published>2025-10-08T15:06:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=6165b6335be5862e70616d0e411bc1fa9c49da56'/>
<id>urn:sha1:6165b6335be5862e70616d0e411bc1fa9c49da56</id>
<content type='text'>
This fixes the following compilation error on HP-UX:
```
11:07:19 crypto/evp/bio_ok.c: In function 'block_in':
11:07:19 crypto/evp/bio_ok.c:579: error: 'SIZE_MAX' undeclared (first use in this function)
11:07:19 crypto/evp/bio_ok.c:579: error: (Each undeclared identifier is reported only once
11:07:19 crypto/evp/bio_ok.c:579: error: for each function it appears in.)
```

Signed-off-by: Lars Erik Wik &lt;lars.erik.wik@northern.tech&gt;
CLA: trivial

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28793)

(cherry picked from commit 695a5aaf0bb04bc2f2d395987f121c1ec41d3b3e)
</content>
</entry>
<entry>
<title>Fixes for NonStop builds on 3.4 to handle OS platform header file changes</title>
<updated>2025-11-18T18:11:33Z</updated>
<author>
<name>Randall S. Becker</name>
<email>randall.becker@nexbridge.ca</email>
</author>
<published>2025-11-07T19:55:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b1ef2f1ff096e14621f98bbb551c383c867a5bc9'/>
<id>urn:sha1:b1ef2f1ff096e14621f98bbb551c383c867a5bc9</id>
<content type='text'>
This changes handles the introduction of _POSIX_VERSION into the NonStop x86
header files that tricks OpenSSL into thinking that ucontext.h is available.

Build a workaround in timing_load_creds.c on NonStop for lack of rusage.
This simulates getrusage() that is not available on NonStop.

Fixes #28498
Fixes #29023

Signed-off-by: Randall S. Becker &lt;randall.becker@nexbridge.ca&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/29106)

(cherry picked from commit 249c506bb85b1056c28f701a8ea163cb96c1d743)
</content>
</entry>
</feed>
