summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-04-25 04:58:34 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-26 22:29:12 +0200
commit7966d75a9d41453a56e41eaae7b0fd64f75f7ec3 (patch)
tree97e65f4bb5d010a61a1fbb99d7253ac5350550fb /options.h
parentd5497262ae1d1a7cf50a45b5ab6750f63bf8565d (diff)
downloadopenvpn-7966d75a9d41453a56e41eaae7b0fd64f75f7ec3.tar.gz
openvpn-7966d75a9d41453a56e41eaae7b0fd64f75f7ec3.tar.xz
openvpn-7966d75a9d41453a56e41eaae7b0fd64f75f7ec3.zip
Added new "extra-certs" and "verify-hash" options (see man page for
details). Increase the timeout after SIGUSR1 restart when restart is not due to server_poll_timeout. Version 2.1.3v git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7215 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.h')
-rw-r--r--options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/options.h b/options.h
index 74ba9d4..f0baabe 100644
--- a/options.h
+++ b/options.h
@@ -477,6 +477,7 @@ struct options
const char *ca_path;
const char *dh_file;
const char *cert_file;
+ const char *extra_certs_file;
const char *priv_key_file;
const char *pkcs12_file;
const char *cipher_list;
@@ -487,6 +488,7 @@ struct options
#if ENABLE_INLINE_FILES
const char *ca_file_inline;
const char *cert_file_inline;
+ const char *extra_certs_file_inline;
char *priv_key_file_inline;
const char *dh_file_inline;
const char *pkcs12_file_inline; /* contains the base64 encoding of pkcs12 file */
@@ -495,6 +497,7 @@ struct options
int ns_cert_type; /* set to 0, NS_SSL_SERVER, or NS_SSL_CLIENT */
unsigned remote_cert_ku[MAX_PARMS];
const char *remote_cert_eku;
+ uint8_t *verify_hash;
#ifdef ENABLE_PKCS11
const char *pkcs11_providers[MAX_PARMS];