Skip to content

Commit ceff4dc

Browse files
committed
The configuration item is psk_hexphrase. #5469
1 parent 013f717 commit ceff4dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/tls.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4017,7 +4017,7 @@ SSL_CTX *tls_init_ctx(fr_tls_server_conf_t *conf, int client, char const *chain_
40174017
}
40184018

40194019
if (conf->psk_password && *conf->psk_password) {
4020-
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_password and psk_query cannot be used at the same time.");
4020+
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_hexphrase and psk_query cannot be used at the same time.");
40214021
return NULL;
40224022
}
40234023

@@ -4037,12 +4037,12 @@ SSL_CTX *tls_init_ctx(fr_tls_server_conf_t *conf, int client, char const *chain_
40374037

40384038

40394039
if (!conf->psk_password || !*conf->psk_password) {
4040-
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_identity is set, but there is no psk_password");
4040+
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_identity is set, but there is no psk_hexphrase");
40414041
return NULL;
40424042
}
40434043

40444044
} else if (conf->psk_password) {
4045-
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_password is set, but there is no psk_identity");
4045+
ERROR(LOG_PREFIX ": Invalid PSK Configuration: psk_hexphrase is set, but there is no psk_identity");
40464046
return NULL;
40474047
}
40484048

0 commit comments

Comments
 (0)