From 477127061a22e6e998755c657873aa1b212ea59a Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Tue, 5 Jul 2011 11:41:14 +0200 Subject: Removed stray X509_free from ssl.c Signed-off-by: Adriaan de Jong Acked-by: James Yonan Signed-off-by: David Sommerseth --- ssl_openssl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ssl_openssl.c') diff --git a/ssl_openssl.c b/ssl_openssl.c index f36b319..ebea636 100644 --- a/ssl_openssl.c +++ b/ssl_openssl.c @@ -431,6 +431,12 @@ tls_ctx_load_cert_file (struct tls_root_ctx *ctx, const char *cert_file, } } +void +tls_ctx_free_cert_file (X509 *x509) +{ + X509_free(x509); +} + #if ENABLE_INLINE_FILES static int use_inline_PrivateKey_file (SSL_CTX *ctx, const char *key_string) -- cgit