mirror of https://github.com/aria2/aria2
				
				
				
			Fix build with LibreSSL 2.7
LibreSSL 2.7 implements the OpenSSL 1.1 API Signed-off-by: Bernard Spil <brnrd@FreeBSD.org>pull/1174/head
							parent
							
								
									431fcde29a
								
							
						
					
					
						commit
						ffdc65a31d
					
				| 
						 | 
				
			
			@ -37,7 +37,7 @@
 | 
			
		|||
 | 
			
		||||
#include <openssl/opensslv.h>
 | 
			
		||||
 | 
			
		||||
#if defined(LIBRESSL_VERSION_NUMBER)
 | 
			
		||||
#if (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER > 0x20700000fL)
 | 
			
		||||
#define LIBRESSL_IN_USE 1
 | 
			
		||||
#else // !defined(LIBRESSL_VERSION_NUMBER)
 | 
			
		||||
#define LIBRESSL_IN_USE 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue