From: Tobias Brunner Date: Mon, 29 Sep 2025 13:32:13 +0000 (+0200) Subject: libtls: Use correct constant in error message X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b83aed1362821b3bcac89d280e0f97f95c7cff01;p=thirdparty%2Fstrongswan.git libtls: Use correct constant in error message Closes strongswan/strongswan#2896 Fixes: e7313962808c ("tls-server: Check if peer sent hash and signature algorithms") --- diff --git a/src/libtls/tls_server.c b/src/libtls/tls_server.c index 3ad9fd2a5c..f70f0504e5 100644 --- a/src/libtls/tls_server.c +++ b/src/libtls/tls_server.c @@ -444,7 +444,7 @@ static status_t process_client_hello(private_tls_server_t *this, if (this->tls->get_version_max(this->tls) >= TLS_1_3 && !this->hashsig.len) { DBG1(DBG_TLS, "no %N extension received", tls_extension_names, - TLS_MISSING_EXTENSION); + TLS_EXT_SIGNATURE_ALGORITHMS); this->alert->add(this->alert, TLS_FATAL, TLS_MISSING_EXTENSION); return NEED_MORE; }