aboutsummaryrefslogtreecommitdiff
path: root/ssl.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-01-05 00:50:11 +0000
committerJames Yonan <james@openvpn.net>2011-01-05 00:50:11 +0000
commit9356bae859938c30808aa0d2ee764bdcbb5dbe0d (patch)
treeb06d38a722c06bc16ecb61c37ce6c6fd07192a40 /ssl.h
parentMisc fixes to r6708. (diff)
downloadopenvpn-9356bae859938c30808aa0d2ee764bdcbb5dbe0d.tar.xz
Added --x509-track option.
Version 2.1.3e git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6780 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--ssl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 4373a80..eb059cc 100644
--- a/ssl.h
+++ b/ssl.h
@@ -402,6 +402,21 @@ struct key_state
#endif
};
+#ifdef ENABLE_X509_TRACK
+
+struct x509_track
+{
+ const struct x509_track *next;
+ const char *name;
+# define XT_FULL_CHAIN (1<<0)
+ unsigned int flags;
+ int nid;
+};
+
+void x509_track_add (const struct x509_track **ll_head, const char *name, int msglevel, struct gc_arena *gc);
+
+#endif
+
/*
* Our const options, obtained directly or derived from
* command line options.
@@ -494,6 +509,10 @@ struct tls_options
struct man_def_auth_context *mda_context;
#endif
+#ifdef ENABLE_X509_TRACK
+ const struct x509_track *x509_track;
+#endif
+
/* --gremlin bits */
int gremlin;
};