<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/ssl_stat.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-22T08:25:26+00:00</updated>
<entry>
<title>Simplify SSL_alert_desc_string</title>
<updated>2025-05-22T08:25:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-22T08:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e7ce70963ad3b03728962b079041b3235a136ef5'/>
<id>urn:sha1:e7ce70963ad3b03728962b079041b3235a136ef5</id>
<content type='text'>
SSL_alert_desc_string() is only used by our good old friends M2Crypto
and Net::SSLeay. While some of the two-letter combinations can be made
sense of without looking at the switch, I guess, this is just a
completely useless interface. The same level of uselessness can be
acchieved in a single line matching BoringSSL.

ok joshua kenjiro
</content>
</entry>
<entry>
<title>Remove unnecessary str variable in ssl_stat.c</title>
<updated>2024-10-12T03:54:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-10-12T03:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6ce65d16d5cf6b8b78051937a104394a108ecd5c'/>
<id>urn:sha1:6ce65d16d5cf6b8b78051937a104394a108ecd5c</id>
<content type='text'>
Drop about 1/4 of the lines in here by avoiding the use of a variable.
For some reason the API in this file made me go listen to Pow R. Toc H.
All of a sudden the lyrics made sense. I should probably be worried.

ok beck jsing
</content>
</entry>
<entry>
<title>Add missing alerts to SSL_alert_desc_string{,_long}()</title>
<updated>2024-10-09T08:01:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-10-09T08:01:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=27d18db791839018afb846c9980de131dca2fdde'/>
<id>urn:sha1:27d18db791839018afb846c9980de131dca2fdde</id>
<content type='text'>
ok beck
</content>
</entry>
<entry>
<title>Hide all public symbols in libssl</title>
<updated>2023-07-08T16:40:14+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T16:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fce75ad52c1586db1ba9f44c6be85668e7d4a110'/>
<id>urn:sha1:fce75ad52c1586db1ba9f44c6be85668e7d4a110</id>
<content type='text'>
With the guentherizer 9000

ok tb@
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Get rid of SSL_CTX_INTERNAL and SSL_INTERNAL.</title>
<updated>2022-10-02T16:36:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-10-02T16:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=efde998d3821e41e124a4bfcdf103e506055fc52'/>
<id>urn:sha1:efde998d3821e41e124a4bfcdf103e506055fc52</id>
<content type='text'>
These are no longer necessary due to SSL_CTX and SSL now being fully
opaque. Merge SSL_CTX_INTERNAL back into SSL_CTX and SSL_INTERNAL back
into SSL.

Prompted by tb@
</content>
</entry>
<entry>
<title>Bye bye S3I.</title>
<updated>2022-02-05T14:54:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-02-05T14:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a463011117e88ea3125fb580b8c6c60d68722651'/>
<id>urn:sha1:a463011117e88ea3125fb580b8c6c60d68722651</id>
<content type='text'>
S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Add SSL_AD_MISSING_EXTENSION.</title>
<updated>2021-06-13T15:51:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-06-13T15:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=91b068a3842a655864c4c9ea4d87ec4563affadb'/>
<id>urn:sha1:91b068a3842a655864c4c9ea4d87ec4563affadb</id>
<content type='text'>
This is an alert that was added in TLSv1.3 - we already use it internally,
but did not provide the SSL_AD_* define previously.

ok tb@
</content>
</entry>
<entry>
<title>Remove references to obsolete alerts.</title>
<updated>2021-06-13T15:29:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-06-13T15:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=28418c2593e9115e0ce9364ad0b002eeee5ae050'/>
<id>urn:sha1:28418c2593e9115e0ce9364ad0b002eeee5ae050</id>
<content type='text'>
The "no_certificate" alert only existed in SSLv3, while the
"decryption_failed" and "export_restriction" alerts were removed in
TLSv1.1.

ok tb@
</content>
</entry>
<entry>
<title>Only use SSL_AD_* internally.</title>
<updated>2021-06-11T17:29:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2021-06-11T17:29:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=25b5c080aa64e34d31477c1bcf914d3ad678bad8'/>
<id>urn:sha1:25b5c080aa64e34d31477c1bcf914d3ad678bad8</id>
<content type='text'>
Due to hysterical raisins there are three different types of defines for
alerts. SSL3_AD_* are from SSLv3, TLS1_AD_* are from TLSv1.0 onwards and
SSL_AD_* currently map to either an SSL3_AD_* or TLS1_AD_* define.

Currently, all three of these are used in various places - switch to using
just SSL_AD_* values internally, as a first step in cleaning this up.

ok tb@
</content>
</entry>
</feed>
