From: Alan T. DeKok Date: Sun, 19 Jan 2025 12:12:33 +0000 (-0500) Subject: The configuration item is psk_hexphrase. #5469 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfda41d76c403b5f73e045f05e6930a69f56b6e1;p=thirdparty%2Ffreeradius-server.git The configuration item is psk_hexphrase. #5469 --- diff --git a/src/lib/tls/ctx.c b/src/lib/tls/ctx.c index db40b1fe5ea..ed60a308303 100644 --- a/src/lib/tls/ctx.c +++ b/src/lib/tls/ctx.c @@ -583,7 +583,7 @@ SSL_CTX *fr_tls_ctx_alloc(fr_tls_conf_t const *conf, bool client) } if (conf->psk_password && *conf->psk_password) { - ERROR("Invalid PSK Configuration: psk_password and psk_query cannot be used at the same time."); + ERROR("Invalid PSK Configuration: psk_hexphrase and psk_query cannot be used at the same time."); goto error; } @@ -603,12 +603,12 @@ SSL_CTX *fr_tls_ctx_alloc(fr_tls_conf_t const *conf, bool client) if (!conf->psk_password || !*conf->psk_password) { - ERROR("Invalid PSK Configuration: psk_identity is set, but there is no psk_password"); + ERROR("Invalid PSK Configuration: psk_identity is set, but there is no psk_hexphrase"); goto error; } } else if (conf->psk_password) { - ERROR("Invalid PSK Configuration: psk_password is set, but there is no psk_identity"); + ERROR("Invalid PSK Configuration: psk_hexphrase is set, but there is no psk_identity"); goto error; }