<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/apps/lib, branch master</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=master</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-10-24T09:42:53Z</updated>
<entry>
<title>apps/lib/cmp_mock_srv.c: Fix NULL dereference of ASN1_INTEGER in refcert_cmp()</title>
<updated>2026-10-24T09:42:53Z</updated>
<author>
<name>Daniel Kubec</name>
<email>kubec@openssl.foundation</email>
</author>
<published>2026-10-01T17:58:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=0e2a7f23387cf7b7cd22832c1f5bdc1200683d6e'/>
<id>urn:sha1:0e2a7f23387cf7b7cd22832c1f5bdc1200683d6e</id>
<content type='text'>
The issuer and the serialNumber are independently OPTIONAL
in a CertTemplate.  A component absent from the request cannot confirm
a match with the reference cert, and ASN1_INTEGER_cmp() does not accept
NULL, so require each component the reference cert has to be present
in the request and to be equal.

Fixes: 66be663b64e0 "cmp_mock_srv.c: Add missing OldCertID check for 'kur' cert update requests"
References: b971d4198def "CMP mock server: add -ref_cert option and corresponding ossl_cmp_mock_srv_set1_refCert()"
Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Mounir Idrassi &lt;mounir.idrassi@idrix.fr&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Merge-date: Sat Oct 24 09:44:19 2026
Merged-from: https://github.com/openssl/openssl/pull/33071
</content>
</entry>
<entry>
<title>Fix set but unsued variable in lib/opt.c</title>
<updated>2026-09-12T13:18:09Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@openssl.org</email>
</author>
<published>2026-09-10T17:49:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1caa35f4fbf8a968a33df8eccf1675a908889415'/>
<id>urn:sha1:1caa35f4fbf8a968a33df8eccf1675a908889415</id>
<content type='text'>
https://github.com/openssl/openssl/actions/runs/34494520852/job/102982686286

CI is failing because we have a varaible in opt.c that is set but never
used.

Just remove it.

Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
Reviewed-by: Frederik Wedel-Heinen &lt;fwh.openssl@gmail.com&gt;
MergeDate: Sat Sep 12 13:18:16 2026
(Merged from https://github.com/openssl/openssl/pull/32787)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2026-09-09T13:12:46Z</updated>
<author>
<name>openssl-machine</name>
<email>openssl-machine@openssl.org</email>
</author>
<published>2026-09-09T13:12:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e074eab6c45587864f169a1c70bcaccae7517dc0'/>
<id>urn:sha1:e074eab6c45587864f169a1c70bcaccae7517dc0</id>
<content type='text'>
Reviewed-by: Daniel Kubec &lt;kubec@openssl.foundation&gt;
Reviewed-by: Eugene Syromiatnikov &lt;esyr@openssl.org&gt;
Merge-date: Wed Sep  9 13:12:46 2026
Release: yes
</content>
</entry>
<entry>
<title>Don't treat a CRL distribution point URI as a NUL terminated string</title>
<updated>2026-08-27T13:52:18Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-08-04T15:03:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ef9a76655168506596240a5a747f65ac08b9df53'/>
<id>urn:sha1:ef9a76655168506596240a5a747f65ac08b9df53</id>
<content type='text'>
get_dp_url() returned the internal ASN1_STRING data of a DIST_POINT URI
directly. That data has an explicit length and is not necessarily NUL
terminated, yet load_crl() and the HTTP client it hands the URI to consume
it as a C string, reading past the buffer for a certificate carrying a
primitive-form IA5String URI in its CRL distribution points.

Return an allocated NUL terminated copy of the URI and free it in
load_crl_crldp().

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Merge-date: Thu Aug 27 13:52:39 2026
Merged-from: https://github.com/openssl/openssl/pull/32178
</content>
</entry>
<entry>
<title>Replace strlen-then-snprintf preconditions with snprintf-return</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-18T02:41:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=e99307b011fb5313b6edd58e8715b8196553b040'/>
<id>urn:sha1:e99307b011fb5313b6edd58e8715b8196553b040</id>
<content type='text'>
This restructureis the apps/lib/apps.c file-rotation helpers
to use snprintf for truncation detection, since they now can.

This also collapses the per-snprintf VMS ifdef into one
SUFFIX_SEP macro because the ifdef-per-call shape was making my eyes
bleed from all the copypasta'ed snprintf lines with only one character
changed in the format string.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:32 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
<entry>
<title>Replace strlen-then-snprintf pattern in save_serial() with a single truncation check.</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-18T02:24:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=27f277fd16bd7b72d05a5f2a53036d7563f3cc9e'/>
<id>urn:sha1:27f277fd16bd7b72d05a5f2a53036d7563f3cc9e</id>
<content type='text'>
This used to be necessary because BIO_snprintf() could not detect truncation
but now this is silly, and this ends up tripping GCC's -Wformat-truncation

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:30 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
<entry>
<title>Convert BIO_snprintf() usage in describe_param_type()</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-18T01:24:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5a4883d5a32571b884f8c4e706e3726f761de7cb'/>
<id>urn:sha1:5a4883d5a32571b884f8c4e706e3726f761de7cb</id>
<content type='text'>
This adds the correct truncation check for snprintf() to
each block that advances the index.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:14 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
<entry>
<title>Convert BIO_snprintf() callers whose existing checks already work</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-18T00:51:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=cae917e2eedc59d10af19292b0c56db281162389'/>
<id>urn:sha1:cae917e2eedc59d10af19292b0c56db281162389</id>
<content type='text'>
under snprintf semantics.

These call sites already guarded the result with the C99 truncation
idiom, so they can simply use snprintf as a replacement as is.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:09 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
<entry>
<title>Convert BIO_snprintf() callers that ignore the return value to snprintf().</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-18T00:42:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c192d4b6f82fd34fa0191c0fde6c3b8ab5240123'/>
<id>urn:sha1:c192d4b6f82fd34fa0191c0fde6c3b8ab5240123</id>
<content type='text'>
Where the return value is discarded, BIO_snprintf() and snprintf() are
interchangeable: both write the same bytes and NUL-terminate the buffer.

The conversion is mechanical.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:07 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
<entry>
<title>Add a build target for MSVC 2013</title>
<updated>2026-08-26T16:20:02Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-06-22T17:06:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c0fd83dc7c25f046c266a44ccb178a8b7e8a4572'/>
<id>urn:sha1:c0fd83dc7c25f046c266a44ccb178a8b7e8a4572</id>
<content type='text'>
Apparently it is desired to keep this on life support.

So we add a build target for this non-C99 platform, and
provide internal versions of snprintf and vsnprintf for use
only on this platform that match the C99 semantics.

This allows us to use C99 semantics normally elsewhere.

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Wed Aug 26 16:20:04 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
</content>
</entry>
</feed>
