"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tls.c" between
redis-6.2.4.tar.gz and redis-6.2.5.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

tls.c  (redis-6.2.4):tls.c  (redis-6.2.5)
skipping to change at line 148 skipping to change at line 148
void tlsInit(void) { void tlsInit(void) {
/* Enable configuring OpenSSL using the standard openssl.cnf /* Enable configuring OpenSSL using the standard openssl.cnf
* OPENSSL_config()/OPENSSL_init_crypto() should be the first * OPENSSL_config()/OPENSSL_init_crypto() should be the first
* call to the OpenSSL* library. * call to the OpenSSL* library.
* - OPENSSL_config() should be used for OpenSSL versions < 1.1.0 * - OPENSSL_config() should be used for OpenSSL versions < 1.1.0
* - OPENSSL_init_crypto() should be used for OpenSSL versions >= 1.1.0 * - OPENSSL_init_crypto() should be used for OpenSSL versions >= 1.1.0
*/ */
#if OPENSSL_VERSION_NUMBER < 0x10100000L #if OPENSSL_VERSION_NUMBER < 0x10100000L
OPENSSL_config(NULL); OPENSSL_config(NULL);
#elif OPENSSL_VERSION_NUMBER < 0x10101000L
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL);
#else #else
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG|OPENSSL_INIT_ATFORK, NULL); OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG|OPENSSL_INIT_ATFORK, NULL);
#endif #endif
ERR_load_crypto_strings(); ERR_load_crypto_strings();
SSL_load_error_strings(); SSL_load_error_strings();
SSL_library_init(); SSL_library_init();
#ifdef USE_CRYPTO_LOCKS #ifdef USE_CRYPTO_LOCKS
initCryptoLocks(); initCryptoLocks();
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)