mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Add support for OpenSSL 1.1.0.
This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
This commit is contained in:
		
							parent
							
								
									9b3215b977
								
							
						
					
					
						commit
						00c03bdd2b
					
				
					 4 changed files with 54 additions and 29 deletions
				
			
		|  | @ -134,15 +134,6 @@ def configure(env): | |||
|     # FIXME: Check for existence of the libs before parsing their flags with pkg-config | ||||
| 
 | ||||
|     if (env['builtin_openssl'] == 'no'): | ||||
|         # Currently not compatible with OpenSSL 1.1.0+ | ||||
|         # https://github.com/godotengine/godot/issues/8624 | ||||
|         import subprocess | ||||
|         openssl_version = subprocess.check_output(['pkg-config', 'openssl', '--modversion']).strip('\n') | ||||
|         if (openssl_version >= "1.1.0"): | ||||
|             print("Error: Found system-installed OpenSSL %s, currently only supporting version 1.0.x." % openssl_version) | ||||
|             print("Aborting.. You can compile with 'builtin_openssl=yes' to use the bundled version.\n") | ||||
|             sys.exit(255) | ||||
| 
 | ||||
|         env.ParseConfig('pkg-config openssl --cflags --libs') | ||||
| 
 | ||||
|     if (env['builtin_libwebp'] == 'no'): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Elliott Sales de Andrade
						Elliott Sales de Andrade