version 1.327, 2018/04/04 15:12:17 |
version 1.328, 2018/04/10 00:10:49 |
|
|
case sAuthenticationMethods: |
case sAuthenticationMethods: |
if (options->num_auth_methods == 0) { |
if (options->num_auth_methods == 0) { |
value = 0; /* seen "any" pseudo-method */ |
value = 0; /* seen "any" pseudo-method */ |
value2 = 0; /* sucessfully parsed any method */ |
value2 = 0; /* successfully parsed any method */ |
while ((arg = strdelim(&cp)) && *arg != '\0') { |
while ((arg = strdelim(&cp)) && *arg != '\0') { |
if (strcmp(arg, "any") == 0) { |
if (strcmp(arg, "any") == 0) { |
if (options->num_auth_methods > 0) { |
if (options->num_auth_methods > 0) { |
|
|
* |
* |
* If the preauth flag is set, we do not bother copying the string or |
* If the preauth flag is set, we do not bother copying the string or |
* array values that are not used pre-authentication, because any that we |
* array values that are not used pre-authentication, because any that we |
* do use must be explictly sent in mm_getpwnamallow(). |
* do use must be explicitly sent in mm_getpwnamallow(). |
*/ |
*/ |
void |
void |
copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth) |
copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth) |