OpenBSD/src DdPNA7hlib/libssl s3_lib.c

   Ensure SSL_set_tlsext_host_name() is given a valid hostname.

   ok inoguchi@ tb@
VersionDeltaFile
1.218+8-3lib/libssl/s3_lib.c
+8-31 files

OpenBSD/src cDW3l0dregress/lib/libssl/tlsext tlsexttest.c

   Rework SNI hostname regress to be table driven.

   Also adjust for the changes to tlsext_sni_is_valid_hostname() and include
   tests for IPv4 and IPv6 literals.

   ok beck@
VersionDeltaFile
1.52+149-64regress/lib/libssl/tlsext/tlsexttest.c
+149-641 files

OpenBSD/src ctjsvvNlib/libssl ssl_tlsext.c ssl_tlsext.h

   Improve SNI hostname validation.

   For some time now we've validated the hostname provided to the server in
   the SNI extension. Per RFC 6066, an IP literal is invalid as a hostname -
   the current code rejects IPv6 literals, but allows IPv4 literals through.

   Improve this check to explicitly detect both IPv4 and IPv6 literals. Some
   software has been historically known to include IP literals in SNI, so
   rather than rejecting this outright (and failing with a decode error),
   pretend that the SNI extension does not exist (such that we do not break
   some older clients).

   ok inoguchi@ tb@
VersionDeltaFile
1.101+52-7lib/libssl/ssl_tlsext.c
1.27+2-2lib/libssl/ssl_tlsext.h
+54-92 files

OpenBSD/src cwz1Y7xlib/libcrypto/evp evp.h, lib/libcrypto/ocsp ocsp.h

   Unifdef LIBRESSL_NEW_API. Now that the library is bumped, this is
   no longer needed.

   ok jsing
VersionDeltaFile
1.45+1-17lib/libcrypto/x509/x509_vfy.h
1.86+1-14lib/libcrypto/x509/x509.h
1.18+1-5lib/libcrypto/ocsp/ocsp.h
1.215+1-5lib/libssl/ssl.h
1.85+1-3lib/libcrypto/evp/evp.h
1.19+1-3lib/libcrypto/x509/x509_set.c
+6-475 files not shown
+10-6011 files

OpenBSD/src VObo9gfregress/lib/libssl/ssl ssltest.c

   Make this test compile again after the damage done in libcrypto
VersionDeltaFile
1.31+20-19regress/lib/libssl/ssl/ssltest.c
+20-191 files

OpenBSD/src ggWcdOllib/libcrypto shlib_version, lib/libssl shlib_version

   Bump majors after struct visibility changes, symbol removal and symbol
   addition.
VersionDeltaFile
1.59+1-1lib/libcrypto/shlib_version
1.90+1-1lib/libssl/shlib_version
1.66+1-1lib/libtls/shlib_version
+3-33 files

OpenBSD/src yCysDszlib/libssl Symbols.list

   Update Symbols.list to include API additions
VersionDeltaFile
1.35+10-0lib/libssl/Symbols.list
+10-01 files

OpenBSD/src suMDwsolib/libssl ssl_lib.c tls13_server.c

   libssl: stop reaching into the X509 struct and simplify some code by
   using X509_get_key_usage().

   ok beck jsing
VersionDeltaFile
1.277+4-18lib/libssl/ssl_lib.c
1.88+2-6lib/libssl/tls13_server.c
+6-242 files

OpenBSD/src 4yitOpulib/libssl bs_cbs.c

   Add explicit CBS_contains_zero_byte() check in CBS_strdup().

   If the CBS data contains a zero byte, then CBS_strdup() is only going to
   return part of the data - add an explicit CBS_contains_zero_byte() and
   treat such data as an error case.

   ok tb@
VersionDeltaFile
1.21+6-1lib/libssl/bs_cbs.c
+6-11 files

OpenBSD/src WWs3Emmregress/lib/libssl/openssl-ruby Makefile

   openssl-ruby tests: rework for x509_alt.c r1.3 and r1.5.

   ruby can no longer generate certs with bogus wildcards in it to check
   that they will fail to verify when creating TLS connections. It will
   throw an error. This change needs openssl-ruby-tests-20211024p0 or later
   to work.
VersionDeltaFile
1.6+9-6regress/lib/libssl/openssl-ruby/Makefile
+9-61 files

OpenBSD/src GUudx33lib/libssl/man SSL_read_early_data.3

   Fix HISTORY section: 6.9 -> 7.0
VersionDeltaFile
1.3+2-2lib/libssl/man/SSL_read_early_data.3
+2-21 files

OpenBSD/src SOFvwFYregress/lib/libssl/tlsext tlsexttest.c

   Free memory on text exit to make asan quieter

   ok tb@
VersionDeltaFile
1.51+83-53regress/lib/libssl/tlsext/tlsexttest.c
+83-531 files

OpenBSD/src nxOcHW5regress/lib/libssl/tlsext tlsexttest.c

   Revise regress for removal of SSL_SESSION_INTERNAL.
VersionDeltaFile
1.50+27-27regress/lib/libssl/tlsext/tlsexttest.c
+27-271 files

OpenBSD/src JL1YSEjlib/libssl/man Makefile

   sort. alphanumerics have lower ASCII values than '_'
VersionDeltaFile
1.76+5-5lib/libssl/man/Makefile
+5-51 files

OpenBSD/src U25Unbzlib/libssl/man Makefile

   Install SSL_read_early_data.3. I should have done this during the last
   libssl bump.
VersionDeltaFile
1.75+2-4lib/libssl/man/Makefile
+2-41 files

OpenBSD/src BzHP9tqlib/libssl d1_pkt.c ssl_pkt.c

   Add record processing limit to DTLS code.

   This is effectively the same record processing limit that was previously
   added to the legacy TLS stack - without this a single session can be made
   to spin on a stream of alerts or other similar records.

   ok beck@ tb@
VersionDeltaFile
1.115+15-1lib/libssl/d1_pkt.c
1.52+3-2lib/libssl/ssl_pkt.c
+18-32 files

OpenBSD/src HBzdTpflib/libssl d1_pkt.c ssl_pkt.c

   Use ssl_force_want_read() in the DTLS code.

   Also mop up some mostly unhelpful comments while here.

   ok beck@ tb@
VersionDeltaFile
1.114+7-30lib/libssl/d1_pkt.c
1.51+5-13lib/libssl/ssl_pkt.c
1.368+3-1lib/libssl/ssl_locl.h
+15-443 files

OpenBSD/src lCzXEvylib/libssl ssl_sess.c ssl_locl.h

   Fold SSL_SESSION_INTERNAL back into SSL_SESSION.

   ok beck@ tb@
VersionDeltaFile
1.106+33-39lib/libssl/ssl_sess.c
1.367+19-24lib/libssl/ssl_locl.h
1.117+18-18lib/libssl/ssl_clnt.c
1.100+9-9lib/libssl/ssl_tlsext.c
1.88+6-6lib/libssl/tls13_client.c
1.87+6-6lib/libssl/tls13_server.c
+91-1024 files not shown
+110-12110 files

OpenBSD/src 8AdJxBPlib/libssl/man SSL_write.3 SSL_read.3

   merge documentation for SSL_read_ex(3), SSL_peek_ex(3), and SSL_write_ex(3)
   from the OpenSSL 1.1.1 branch, which is still under a free license
VersionDeltaFile
1.7+77-52lib/libssl/man/SSL_write.3
1.8+55-11lib/libssl/man/SSL_read.3
+132-632 files

OpenBSD/src 7lyFY2xlib/libssl s3_lib.c

   Don't leak internal->verfied_chain, clean it up in ssl3_clear and free.

   spotted by and ok jsing@
VersionDeltaFile
1.216+4-1lib/libssl/s3_lib.c
+4-11 files

OpenBSD/src lisj10zlib/libssl ssl_cert.c ssl_lib.c

   Add SSL_get0_verified_chain - needed by some new stuff

   symbol will be exposed with tb@'s forthcoming bump

   ok tb@
VersionDeltaFile
1.86+10-1lib/libssl/ssl_cert.c
1.275+7-1lib/libssl/ssl_lib.c
1.366+2-1lib/libssl/ssl_locl.h
1.214+2-1lib/libssl/ssl.h
+21-44 files

OpenBSD/src jF9cKMVlib/libssl/man SSL_CTX_set_num_tickets.3

   fix wrong and missing return types and wrong macros in the SYNOPSIS;
   while here, also apply some minor wording improvements
VersionDeltaFile
1.2+18-10lib/libssl/man/SSL_CTX_set_num_tickets.3
+18-101 files

OpenBSD/src nTdumDHlib/libssl ssl_lib.c ssl.h, lib/libssl/man SSL_CTX_set_num_tickets.3

   Add new OpenSSL API SSL_CTX_set_num_tickets and friends.

   Since we don't support session tickets in LibreSSL at the moment
   these functions currently do not have any effect.

   Again, symbols will appear with tb@'s reptar sized bump..

   ok tb@
VersionDeltaFile
1.1+55-0lib/libssl/man/SSL_CTX_set_num_tickets.3
1.274+30-1lib/libssl/ssl_lib.c
1.213+5-1lib/libssl/ssl.h
1.365+4-1lib/libssl/ssl_locl.h
+94-34 files

OpenBSD/src aYFh2Yrlib/libssl ssl_clnt.c ssl_cert.c

   Unhandroll X509_up_ref()

   ok beck jsing
VersionDeltaFile
1.116+3-3lib/libssl/ssl_clnt.c
1.85+2-3lib/libssl/ssl_cert.c
1.35+2-2lib/libssl/ssl_rsa.c
1.273+2-2lib/libssl/ssl_lib.c
+9-104 files

OpenBSD/src 4FJHNpflib/libssl/man X509_SIG_get0.3 X509_get_extension_flags.3

   oops, wrong dir.

   pointed out by schwarze
VersionDeltaFile
1.2+2-2lib/libssl/man/X509_SIG_get0.3
1.2+2-2lib/libssl/man/X509_get_extension_flags.3
+4-42 files

OpenBSD/src xUSEFeUlib/libssl ssl_lib.c ssl.h

   Add new OpenSSL api SSL_write_ex, SSL_read_ex and SSL_peek_ex

   As these still meet the usual expectations for special, I will leave
   it up to ingo to decide to either document separately or in one man
   page like OpenSSL did.

   Will also need Symbols.list additions by tb@ when he starts the rapture

   ok tb@ jsing@
VersionDeltaFile
1.272+80-1lib/libssl/ssl_lib.c
1.212+6-1lib/libssl/ssl.h
+86-22 files

OpenBSD/src hDdJkxKlib/libssl/man X509_get_extension_flags.3

   Import documentation for X509_get_extension_flags, X509_get_key_usage,
   X509_get_extended_key_usage from OpenSSL. Will be linked to the build
   after the bump.

   input/lgtm schwarze
VersionDeltaFile
1.1+211-0lib/libssl/man/X509_get_extension_flags.3
+211-01 files

OpenBSD/src nzVCa6Rlib/libssl/man X509_SIG_get0.3

   Import documentation for X509_SIG_get{0,m} from OpenSSL. Will be linked
   to the build after the bump.

   tweak & lgtm schwarze
VersionDeltaFile
1.1+90-0lib/libssl/man/X509_SIG_get0.3
+90-01 files

OpenBSD/src 9myZ30Ilib/libssl ssl_lib.c ssl_locl.h

   Mop up enc_read_ctx and read_hash.

   These are no longer public, so we can mop them up along with the machinery
   needed to set/clear them.

   ok beck@ tb@
VersionDeltaFile
1.271+1-15lib/libssl/ssl_lib.c
1.364+1-13lib/libssl/ssl_locl.h
1.35+1-9lib/libssl/tls12_record_layer.c
1.152+1-3lib/libssl/t1_enc.c
+4-404 files

OpenBSD/src n0j5VP0lib/libssl ssl_clnt.c ssl_versions.c

   Provide a way to determine our maximum legacy version.

   With the introduction of TLSv1.3, we need the ability to determine our
   maximum legacy version and to track our peer's maximum legacy version.
   This is needed for both the TLS record layer when using TLSv1.3, plus
   it is needed for RSA key exhange in TLS prior to TLSv1.3, where the
   maximum legacy version is incorporated in the pre-master secret to
   avoid downgrade attacks.

   This unbreaks RSA KEX for the TLS client when the non-version specific
   method is used with TLSv1.0 or TLSv1.1 (clearly no one does this).

   ok tb@
VersionDeltaFile
1.115+16-36lib/libssl/ssl_clnt.c
1.21+19-1lib/libssl/ssl_versions.c
1.122+8-10lib/libssl/ssl_srvr.c
1.87+5-5lib/libssl/tls13_client.c
1.363+9-1lib/libssl/ssl_locl.h
1.32+3-3lib/libssl/tls13_legacy.c
+60-561 files not shown
+62-577 files