mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	openssl: Make DTLS configurable.
Signed-off by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
		
							parent
							
								
									aaa067ab0b
								
							
						
					
					
						commit
						c0b15b3072
					
				@ -20,6 +20,11 @@ config OPENSSL_WITH_DEPRECATED
 | 
			
		||||
	default y
 | 
			
		||||
	prompt "Include deprecated APIs"
 | 
			
		||||
 | 
			
		||||
config OPENSSL_WITH_DTLS
 | 
			
		||||
	bool
 | 
			
		||||
	default n
 | 
			
		||||
	prompt "Enable DTLS support"
 | 
			
		||||
 | 
			
		||||
config OPENSSL_WITH_COMPRESSION
 | 
			
		||||
	bool
 | 
			
		||||
	default n
 | 
			
		||||
 | 
			
		||||
@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_SSL3 \
 | 
			
		||||
	CONFIG_OPENSSL_HARDWARE_SUPPORT \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_DEPRECATED \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_DTLS \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_COMPRESSION \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_NPN \
 | 
			
		||||
	CONFIG_OPENSSL_WITH_PSK \
 | 
			
		||||
@ -130,6 +131,10 @@ ifndef CONFIG_OPENSSL_WITH_DEPRECATED
 | 
			
		||||
  OPENSSL_OPTIONS += no-deprecated
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifndef CONFIG_OPENSSL_WITH_DTLS
 | 
			
		||||
  OPENSSL_OPTIONS += no-dtls
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifdef CONFIG_OPENSSL_WITH_COMPRESSION
 | 
			
		||||
  OPENSSL_OPTIONS += zlib-dynamic
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user