diff --git a/Changes.rst b/Changes.rst
index 5a80dc0d..df56f76a 100644
--- a/Changes.rst
+++ b/Changes.rst
@@ -95,7 +95,9 @@ Session timeout
Inline auth username and password
Username and password can now be specified inline in the configuration file
- within the tags.
+ within the tags. If the password is
+ missing OpenVPN will prompt for input via stdin. This applies to inline'd
+ http-proxy-user-pass too.
Deprecated features
diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c
index 07f6e202..50f7f975 100644
--- a/src/openvpn/misc.c
+++ b/src/openvpn/misc.c
@@ -197,6 +197,11 @@ get_user_pass_cr(struct user_pass *up,
buf_parse(&buf, '\n', up->username, USER_PASS_LEN);
}
buf_parse(&buf, '\n', up->password, USER_PASS_LEN);
+
+ if (strlen(up->password) == 0)
+ {
+ password_from_stdin = 1;
+ }
}
/*
* Read from auth file unless this is a dynamic challenge request.