gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 03/153: openssl: assume engine support in 1.0.0 or


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 03/153: openssl: assume engine support in 1.0.0 or later
Date: Tue, 11 Sep 2018 12:51:14 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit d6417f6c2ddb10099da2c7ad0ffeebaa732aa824
Author: Paul Howarth <address@hidden>
AuthorDate: Wed Jul 11 12:01:38 2018 +0100

    openssl: assume engine support in 1.0.0 or later
    
    Commit 38203f1585da changed engine detection to be version-based,
    with a baseline of openssl 1.0.1. This does in fact break builds
    with openssl 1.0.0, which has engine support - the configure script
    detects that ENGINE_cleanup() is available - but <openssl/engine.h>
    doesn't get included to declare it.
    
    According to upstream documentation, engine support was added to
    mainstream openssl builds as of version 0.9.7:
    https://github.com/openssl/openssl/blob/master/README.ENGINE
    
    This commit drops the version test down to 1.0.0 as version 1.0.0d
    is the oldest version I have to test with.
    
    Closes #2732
---
 lib/vtls/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 0b1929bd7..d5b474771 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -69,7 +69,7 @@
 #include <openssl/ocsp.h>
 #endif
 
-#if (OPENSSL_VERSION_NUMBER >= 0x10001000L) && /* 1.0.1 or later */     \
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) && /* 1.0.0 or later */     \
   !defined(OPENSSL_NO_ENGINE)
 #define USE_OPENSSL_ENGINE
 #include <openssl/engine.h>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]