diff options
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/servconf.c b/servconf.c index 92d3170b2..5840961e3 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -131,7 +131,11 @@ fill_default_server_options(ServerOptions *options) | |||
131 | { | 131 | { |
132 | /* Portable-specific options */ | 132 | /* Portable-specific options */ |
133 | if (options->use_pam == -1) | 133 | if (options->use_pam == -1) |
134 | #ifdef USE_PAM | ||
135 | options->use_pam = 1; | ||
136 | #else | ||
134 | options->use_pam = 0; | 137 | options->use_pam = 0; |
138 | #endif | ||
135 | 139 | ||
136 | /* Standard Options */ | 140 | /* Standard Options */ |
137 | if (options->protocol == SSH_PROTO_UNKNOWN) | 141 | if (options->protocol == SSH_PROTO_UNKNOWN) |