Combined password prompt and message

That is because there are clients (anyconnect) which only print
the message but not the prompt.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-20 10:01:23 +02:00
parent 705f1f3efc
commit c60a0bce50
6 changed files with 15 additions and 39 deletions

View File

@@ -74,8 +74,7 @@ typedef struct client_entry_st {
unsigned tls_auth_ok;
char *msg_str;
char *prompt_str;
unsigned passwd_counter; /* if prompt_str is for a password this indicates the passwrd number (0,1,2) */
unsigned passwd_counter; /* if msg_str is for a password this indicates the passwrd number (0,1,2) */
stats_st saved_stats; /* saved from previous cookie usage */
stats_st stats; /* current */