aboutsummaryrefslogtreecommitdiff
path: root/manage.h
diff options
context:
space:
mode:
authorJames Yonan2011-06-03 21:21:20 +0000
committerJames Yonan2011-06-03 21:21:20 +0000
commiteab3e22f8261c07d5f906c05fce69917034d9e53 (patch)
treeb1d5d26dcb1edd657f75f4fb03fc46123157be60 /manage.h
parenta114cb750e26e96a727253f316d7415fe34447f6 (diff)
downloadopenvpn-eab3e22f8261c07d5f906c05fce69917034d9e53.zip
openvpn-eab3e22f8261c07d5f906c05fce69917034d9e53.tar.gz
Added support for static challenge/response protocol.
This includes the new "static-challenge" directive. See management/management-notes.txt for details on both static and dynamic challenge/response protocols. All client-side challenge/response code is #ifdefed on ENABLE_CLIENT_CR and can be removed from the build by commenting out the definition of ENABLE_CLIENT_CR in syshead.h. Version 2.1.3x. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7316 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.h')
-rw-r--r--manage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/manage.h b/manage.h
index c6ce31e..288e47b 100644
--- a/manage.h
+++ b/manage.h
@@ -365,7 +365,11 @@ void management_set_callback (struct management *man,
void management_clear_callback (struct management *man);
-bool management_query_user_pass (struct management *man, struct user_pass *up, const char *type, const unsigned int flags);
+bool management_query_user_pass (struct management *man,
+ struct user_pass *up,
+ const char *type,
+ const unsigned int flags,
+ const char *static_challenge);
bool management_should_daemonize (struct management *man);
bool management_would_hold (struct management *man);