]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
The configuration item is psk_hexphrase. #5469
authorAlan T. DeKok <aland@freeradius.org>
Sun, 19 Jan 2025 12:12:33 +0000 (07:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 19 Jan 2025 12:12:33 +0000 (07:12 -0500)
src/lib/tls/ctx.c

index db40b1fe5ea000753c62ff7382a6e4b41ad69a1f..ed60a308303ec4610ac259b6f90de4acfb0b046f 100644 (file)
@@ -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;
        }