diff --git a/src/config.c b/src/config.c index bcf18e07..7bad1b33 100644 --- a/src/config.c +++ b/src/config.c @@ -418,8 +418,8 @@ unsigned force_cert_auth; exit(1); } #ifdef HAVE_PAM - config->auth_types |= amod->type; amod = &pam_auth_funcs; + config->auth_types |= amod->type; #else fprintf(stderr, "PAM support is disabled\n"); exit(1);