aboutsummaryrefslogtreecommitdiff
path: root/ssl.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-11-13 00:46:13 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-11-13 00:46:13 +0100
commit22178d05f7912fd51a21a32387982394447d90f6 (patch)
tree3f8fe69338e7a4139909de9c2d60d1f908771b94 /ssl.h
parentClarified --explicit-exit-notify man page entry (diff)
parentVersion 2.1.3b (diff)
downloadopenvpn-22178d05f7912fd51a21a32387982394447d90f6.tar.xz
Merge branch 'svn-BETA21' into bugfix2.1
Diffstat (limited to '')
-rw-r--r--ssl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 0373faa..bc2e72c 100644
--- a/ssl.h
+++ b/ssl.h
@@ -705,6 +705,17 @@ void auth_user_pass_setup (const char *auth_file);
void ssl_set_auth_nocache (void);
void ssl_purge_auth (void);
+
+#ifdef ENABLE_CLIENT_CR
+/*
+ * ssl_get_auth_challenge will parse the server-pushed auth-failed
+ * reason string and return a dynamically allocated
+ * auth_challenge_info struct.
+ */
+void ssl_purge_auth_challenge (void);
+void ssl_put_auth_challenge (const char *cr_str);
+#endif
+
void tls_set_verify_command (const char *cmd);
void tls_set_crl_verify (const char *crl);
void tls_set_verify_x509name (const char *x509name);