summaryrefslogtreecommitdiffstats
path: root/ssl_backend.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-07-05 11:41:14 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 16:00:49 +0200
commit477127061a22e6e998755c657873aa1b212ea59a (patch)
treedc48a674444676e5b2e9e553c5fd8e2aef02d2a4 /ssl_backend.h
parent5fa82c550f8160bb8dd107bc5f3d516ba996dd6d (diff)
downloadopenvpn-477127061a22e6e998755c657873aa1b212ea59a.tar.gz
openvpn-477127061a22e6e998755c657873aa1b212ea59a.tar.xz
openvpn-477127061a22e6e998755c657873aa1b212ea59a.zip
Removed stray X509_free from ssl.c
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_backend.h')
-rw-r--r--ssl_backend.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl_backend.h b/ssl_backend.h
index b67421c..243c9e3 100644
--- a/ssl_backend.h
+++ b/ssl_backend.h
@@ -197,6 +197,13 @@ void tls_ctx_load_cert_file (struct tls_root_ctx *ctx, const char *cert_file,
);
/**
+ * Free the given certificate
+ *
+ * @param x509 certificate to free
+ */
+void tls_ctx_free_cert_file (x509_cert_t *x509);
+
+/**
* Load private key file into the given TLS context.
*
* @param ctx TLS context to use