Skip to content

Commit

Permalink
Merge branch 'fill_in_any_password_type_field' into 'master'
Browse files Browse the repository at this point in the history
command-line client should fill in any password-type field with value supplied via --passwd-on-stdin

See merge request openconnect/openconnect!6
  • Loading branch information
dwmw2 committed Sep 21, 2018
2 parents d819339 + b6dc821 commit 02dfe03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.c
Expand Up @@ -1999,8 +1999,7 @@ static int process_auth_form_cb(void *_vpninfo,
empty = 0;

} else if (opt->type == OC_FORM_OPT_PASSWORD) {
if (password &&
!strncmp(opt->name, "pass", 4)) {
if (password) {
opt->_value = password;
password = NULL;
} else {
Expand Down

0 comments on commit 02dfe03

Please sign in to comment.