openssl: for 1.1.0+ they now provide a SSLeay() macro of their own
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
			
		||||
 *                            | (__| |_| |  _ <| |___
 | 
			
		||||
 *                             \___|\___/|_| \_\_____|
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
 | 
			
		||||
 * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
 | 
			
		||||
 *
 | 
			
		||||
 * This software is licensed as described in the file COPYING, which
 | 
			
		||||
 * you should have received as part of this distribution. The terms
 | 
			
		||||
@@ -122,7 +122,6 @@
 | 
			
		||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && /* OpenSSL 1.1.0+ */ \
 | 
			
		||||
  !defined(LIBRESSL_VERSION_NUMBER)
 | 
			
		||||
#define SSLeay_add_ssl_algorithms() SSL_library_init()
 | 
			
		||||
#define SSLeay() OpenSSL_version_num()
 | 
			
		||||
#define SSLEAY_VERSION_NUMBER OPENSSL_VERSION_NUMBER
 | 
			
		||||
#define HAVE_X509_GET0_EXTENSIONS 1 /* added in 1.1.0 -pre1 */
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user