summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-04 18:28:51 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-04 18:28:51 +0100
commit51424d0857ca09e1082aeacf177e2df6fea37eda (patch)
tree40d8e9cb58e25d2b75c55bb25bfbcc65c93e737f /src
parent187bc588ac69994548471cc4a303e77fb0e957bc (diff)
Fix build with OpenSSL on earlier versions.
Centos 6.5 and earlier had a build fail with GENERAL_NAME etc. undefined. Just include the file defining it even if it's a duplicate on later versions.
Diffstat (limited to 'src')
-rw-r--r--src/src/tlscert-openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/tlscert-openssl.c b/src/src/tlscert-openssl.c
index 008cf54b9..20ecbbc6c 100644
--- a/src/src/tlscert-openssl.c
+++ b/src/src/tlscert-openssl.c
@@ -15,6 +15,7 @@ library. It is #included into the tls.c file when that library is used.
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>
+#include <openssl/x509v3.h>
/*****************************************************