libtls: Use correct constant in error message

Closes strongswan/strongswan#2896

Fixes: e731396280 ("tls-server: Check if peer sent hash and signature algorithms")
This commit is contained in:
Tobias Brunner
2025-10-02 10:02:49 +02:00
parent eb2d8768d8
commit b83aed1362
+1 -1
View File
@@ -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;
}