(openssl tls) (openssl < 1.1) logic inversion - crypto locking callback are not registered properly
This commit is contained in:
		@@ -1,6 +1,10 @@
 | 
				
			|||||||
# Changelog
 | 
					# Changelog
 | 
				
			||||||
All changes to this project will be documented in this file.
 | 
					All changes to this project will be documented in this file.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [9.5.8] - 2020-05-08
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(openssl tls) (openssl < 1.1) logic inversion - crypto locking callback are not registered properly
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [9.5.7] - 2020-05-08
 | 
					## [9.5.7] - 2020-05-08
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(cmake) default TLS back to mbedtls on Windows Universal Platform
 | 
					(cmake) default TLS back to mbedtls on Windows Universal Platform
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -109,7 +109,7 @@ namespace ix
 | 
				
			|||||||
#else
 | 
					#else
 | 
				
			||||||
        (void) OPENSSL_config(nullptr);
 | 
					        (void) OPENSSL_config(nullptr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (CRYPTO_get_locking_callback() != nullptr)
 | 
					        if (CRYPTO_get_locking_callback() == nullptr)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            CRYPTO_set_locking_callback(SocketOpenSSL::openSSLLockingCallback);
 | 
					            CRYPTO_set_locking_callback(SocketOpenSSL::openSSLLockingCallback);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,4 +6,4 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#pragma once
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define IX_WEBSOCKET_VERSION "9.5.7"
 | 
					#define IX_WEBSOCKET_VERSION "9.5.8"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user