<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/demos, branch openssl-3.4.5</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.5</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.4.5'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2025-12-09T13:48:07Z</updated>
<entry>
<title>3.4-POST-CLANG-FORMAT-WEBKIT</title>
<updated>2025-12-09T13:48:07Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2025-12-09T13:46:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5a450b3b25d1b48e0a38bdf84f90429317254a04'/>
<id>urn:sha1:5a450b3b25d1b48e0a38bdf84f90429317254a04</id>
<content type='text'>
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Norbert Pocs &lt;norbertp@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/29260)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2025-09-30T12:46:35Z</updated>
<author>
<name>openssl-machine</name>
<email>openssl-machine@openssl.org</email>
</author>
<published>2025-09-30T12:46:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=88dafcee879324457a396ec38d235ac687109b4a'/>
<id>urn:sha1:88dafcee879324457a396ec38d235ac687109b4a</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>demos/certs: properly handle "$@"</title>
<updated>2025-09-08T20:56:58Z</updated>
<author>
<name>Eugene Syromiatnikov</name>
<email>esyr@openssl.org</email>
</author>
<published>2025-09-01T14:45:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cc8a49004b0ceb0aa02c603e767519b459fc9c20'/>
<id>urn:sha1:cc8a49004b0ceb0aa02c603e767519b459fc9c20</id>
<content type='text'>
There is little reason $@ should be used unquoted;  also, "$@"
should be used instead of $* in order to pass the script arguments
to a function.

Fixes: bcd92754d56a "demos: fix cert scripts"
Fixes: 79b184fb4b65 "Extend certificate creation examples to include CRL generation and sample"
Signed-off-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28407)
</content>
</entry>
<entry>
<title>Fix: Add free to avoid memory leak.</title>
<updated>2025-08-29T12:36:51Z</updated>
<author>
<name>Nachel72</name>
<email>Nachel72@outlook.com</email>
</author>
<published>2025-08-17T06:08:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e2a0578f6936d18fa73d894490e9ed1acedd7922'/>
<id>urn:sha1:e2a0578f6936d18fa73d894490e9ed1acedd7922</id>
<content type='text'>
Reviewed-by: Saša Nedvědický &lt;sashan@openssl.org&gt;
Reviewed-by: Paul Yang &lt;paulyang.inf@gmail.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/28289)

(cherry picked from commit f9afb3a07eb72428b98e3e31384380564a236700)
</content>
</entry>
<entry>
<title>Fix RSA key size validation in EVP_PKEY_RSA_keygen demo</title>
<updated>2025-08-11T14:46:31Z</updated>
<author>
<name>Quin-Darcy</name>
<email>pohmsuindraguli@gmail.com</email>
</author>
<published>2025-07-31T14:07:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=42a321331b148c7de3417bd96ae92b0ed4b0da5e'/>
<id>urn:sha1:42a321331b148c7de3417bd96ae92b0ed4b0da5e</id>
<content type='text'>
The validation was checking the default 'bits' value (4096) instead of
the parsed 'bits_i' from the command line arguments, allowing invalid
key sizes to bypass the 512-bit minimum.

CLA: trivial

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/28139)

(cherry picked from commit c79e1b212a616b8dca194a77e7698b886000fcb0)
</content>
</entry>
<entry>
<title>demos/cms/cms_denc.c: Add check for BIO_new_file()</title>
<updated>2025-07-01T17:35:47Z</updated>
<author>
<name>Jiasheng Jiang</name>
<email>jiashengjiangcool@gmail.com</email>
</author>
<published>2025-06-25T23:06:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a60af417231a676da1260637ad937bb97e2c65ee'/>
<id>urn:sha1:a60af417231a676da1260637ad937bb97e2c65ee</id>
<content type='text'>
Add check for the return value of BIO_new_file().

Fixes: 1728756 ("Detached encrypt/decrypt example, fix decrypt sample.")
Signed-off-by: Jiasheng Jiang &lt;jiashengjiangcool@gmail.com&gt;

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

(cherry picked from commit 881ff0c225356a0f28bd55cea5a4c5204b7b7b8a)
</content>
</entry>
<entry>
<title>demos/cms/cms_ddec.c: Replace "in" with "dcont" to correctly check the success of BIO_new_file()</title>
<updated>2025-07-01T17:33:43Z</updated>
<author>
<name>Jiasheng Jiang</name>
<email>jiashengjiangcool@gmail.com</email>
</author>
<published>2025-06-27T15:59:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d6cd0b66241db22769a8b5323bc2be983eb73cbc'/>
<id>urn:sha1:d6cd0b66241db22769a8b5323bc2be983eb73cbc</id>
<content type='text'>
Replace "in" with "dcont" to properly check the return value of BIO_new_file().

Fixes: 1728756 ("Detached encrypt/decrypt example, fix decrypt sample.")
Signed-off-by: Jiasheng Jiang &lt;jiashengjiangcool@gmail.com&gt;

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

(cherry picked from commit 8a7545607e872ccaff3018e2cd201cce65e615ec)
</content>
</entry>
<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>Avoid potential double close of client_skt in sslecho</title>
<updated>2025-06-20T14:45:00Z</updated>
<author>
<name>Levi Zim</name>
<email>rsworktech@outlook.com</email>
</author>
<published>2025-04-16T06:21:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=22115761cd188b100e08e18065dbf90248523d1b'/>
<id>urn:sha1:22115761cd188b100e08e18065dbf90248523d1b</id>
<content type='text'>
The server_running variable is declared as volatile and some comments in
the code are mentioning about implementing CTRL+C handler in the future.

In the client handling loop, the client_skt is closed at the end of the
loop if server_running is true. If (future) CTRL+C handler changes
server_running to false at this time. The next accept will not happen
and the exit clean up code will close client_skt for the second time.

This patch fixes this potential double close by setting client_skt back
to -1 after closing it.

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/27405)

(cherry picked from commit 48e3fe08639d84bd557c0d5248f5600f2fb1f7de)
</content>
</entry>
<entry>
<title>demos/bio/sconnect.c: Free ssl_bio on error to avoid memory leak</title>
<updated>2025-05-19T14:22:45Z</updated>
<author>
<name>JiashengJiang</name>
<email>jiasheng@purdue.edu</email>
</author>
<published>2025-05-16T13:37:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d589d702c99dbfdbb8e33a2c2d6f82bc744d86ad'/>
<id>urn:sha1:d589d702c99dbfdbb8e33a2c2d6f82bc744d86ad</id>
<content type='text'>
Call BIO_free() to release ssl_bio if an error occurs before BIO_push(), preventing a memory leak.

Fixes: 396e720965 ("Fix certificate validation for IPv6 literals in sconnect demo")
Signed-off-by: JiashengJiang &lt;jiasheng@purdue.edu&gt;

Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/27639)

(cherry picked from commit 55d8d859797e8229bc499bbc7c3c76821b654682)
</content>
</entry>
</feed>
