From 0c39c1ac588655c53dc4be20653fbeec194964f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gell=C3=A9rt=20Peresztegi-Nagy?= Date: Wed, 29 Apr 2026 16:49:11 +0100 Subject: [PATCH] ossl: error queue assert to only terminate in debug builds Openssl's api contract is too loose and the impact to wide (e.g. low-priority https traffic could crash the whole process) that it makes sense to only terminate here in debug builds. --- src/net/ossl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/ossl.cc b/src/net/ossl.cc index bd83c11f044..a3e722e6eda 100644 --- a/src/net/ossl.cc +++ b/src/net/ossl.cc @@ -1858,7 +1858,7 @@ SEASTAR_INTERNAL_END_IGNORE_DEPRECATIONS char buf[256]; ERR_error_string_n(err, buf, sizeof(buf)); tls_log.warn("{} stale error on queue before {}: {}", *this, operation, buf); - SEASTAR_ASSERT(0 && "stale errors on OpenSSL error queue"); + assert(0 && "stale errors on OpenSSL error queue"); } std::vector do_get_alt_name_information(const x509_ptr &peer_cert,