]> 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:10:27 +0000 (07:10 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 19 Jan 2025 12:10:27 +0000 (07:10 -0500)
src/main/tls.c

index d1faeb2b85ff627a1ce1201a2177578b86cecde5..2c67a44325b1faf83e824b1acef390db9290d9de 100644 (file)
@@ -4017,7 +4017,7 @@ SSL_CTX *tls_init_ctx(fr_tls_server_conf_t *conf, int client, char const *chain_
                }
 
                if (conf->psk_password && *conf->psk_password) {
-                       ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_password and psk_query cannot be used at the same time.");
+                       ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_hexphrase and psk_query cannot be used at the same time.");
                        return NULL;
                }
 
@@ -4037,12 +4037,12 @@ SSL_CTX *tls_init_ctx(fr_tls_server_conf_t *conf, int client, char const *chain_
 
 
                if (!conf->psk_password || !*conf->psk_password) {
-                       ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_identity is set, but there is no psk_password");
+                       ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_identity is set, but there is no psk_hexphrase");
                        return NULL;
                }
 
        } else if (conf->psk_password) {
-               ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_password is set, but there is no psk_identity");
+               ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_hexphrase is set, but there is no psk_identity");
                return NULL;
        }