client: agent: fix agent prompt calls

The password and passphrase processing function calls were switched.
This commit is contained in:
Jason Phan 2019-03-20 03:08:45 -05:00 committed by Denis Kenzior
parent 2eb54d4adc
commit 52afe193e6
1 changed files with 2 additions and 2 deletions

View File

@ -311,10 +311,10 @@ bool agent_prompt(const char *prompt)
process_input_username_password(prompt);
break;
case AGENT_OP_TYPE_PASSPHRASE:
process_input_password(prompt);
process_input_passphrase(prompt);
break;
case AGENT_OP_TYPE_PASSWORD:
process_input_passphrase(prompt);
process_input_password(prompt);
break;
}