Commit e2520344 authored by David Woodhouse's avatar David Woodhouse

Fix charset handling for --key-password on command line

It was always converting to UTF-8 for input from the terminal; there
was a plausible reason for using the legacy charset as-is but it's
better to be consistent.
Signed-off-by: default avatarDavid Woodhouse <>
parent d8b283f1
......@@ -1307,7 +1307,7 @@ int main(int argc, char **argv)
case 'p':
vpninfo->cert_password = strdup(config_arg);
vpninfo->cert_password = dup_config_arg();
case 'P':
proxy = keep_config_arg();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment