summaryrefslogtreecommitdiffstats
path: root/ssl_verify.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-30 14:15:40 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 11:32:40 +0200
commit75c67073ed5d35b0efcd2a99492cf34339da08fb (patch)
treedeb4f2137dd918ae06a50bf1e89f94690526eb3a /ssl_verify.h
parenta4c926bb5939d95d9e7c0dfd4b83e61a11f86c90 (diff)
downloadopenvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.tar.gz
openvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.tar.xz
openvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.zip
Refactored tls-verify-plugin code
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_verify.h')
-rw-r--r--ssl_verify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl_verify.h b/ssl_verify.h
index acb27f5..91474e9 100644
--- a/ssl_verify.h
+++ b/ssl_verify.h
@@ -249,6 +249,8 @@ void
verify_cert_set_env(struct env_set *es, x509_cert_t *peer_cert, int cert_depth,
const char *subject, const char *common_name,
const struct x509_track *x509_track);
+int verify_cert_call_plugin(const struct plugin_list *plugins, struct env_set *es,
+ int cert_depth, x509_cert_t *cert, char *subject);
#endif /* SSL_VERIFY_H_ */