From 64471890aa438d183ff54db605efa75313765b69 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. (cherry picked from commit 6eac50dbde60edc244e74d79d62138b6405ef516) --- 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 c8e241938e7..1812a62c0cd 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,