Fix build with OpenSSL on earlier versions.
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 4 May 2014 17:28:51 +0000 (18:28 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 4 May 2014 17:28:51 +0000 (18:28 +0100)
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.

src/src/tlscert-openssl.c

index 008cf54b9594c744eb9dae31d62b695882df629a..20ecbbc6ced63bc6abc16cbdcc583298592e4aaf 100644 (file)
@@ -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>
 
 
 /*****************************************************