[exim-cvs] Fix build with OpenSSL on earlier versions.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Fix build with OpenSSL on earlier versions.
Gitweb: http://git.exim.org/exim.git/commitdiff/51424d0857ca09e1082aeacf177e2df6fea37eda
Commit:     51424d0857ca09e1082aeacf177e2df6fea37eda
Parent:     187bc588ac69994548471cc4a303e77fb0e957bc
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun May 4 18:28:51 2014 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun May 4 18:28:51 2014 +0100


    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.
---
 src/src/tlscert-openssl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/src/src/tlscert-openssl.c b/src/src/tlscert-openssl.c
index 008cf54..20ecbbc 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>


/*****************************************************