Fix thinko/copypaste error.
When checking the length of the mutual secret password the variable for the secret password was used by mistake. This resulted in ctld never warning about the length of the mutual secret being wrong even if it was. MFC after: 3 days Sponsored by: iXsystems
This commit is contained in:
parent
b9c2f094f2
commit
7c924aae61
@ -203,7 +203,7 @@ auth_check_secret_length(struct auth *auth)
|
||||
}
|
||||
|
||||
if (auth->a_mutual_secret != NULL) {
|
||||
len = strlen(auth->a_secret);
|
||||
len = strlen(auth->a_mutual_secret);
|
||||
if (len > 16) {
|
||||
if (auth->a_auth_group->ag_name != NULL)
|
||||
log_warnx("mutual secret for user \"%s\", "
|
||||
|
Loading…
x
Reference in New Issue
Block a user