mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
libasteriskssl: do nothing with OpenSSL >= 1.1
OpenSSL 1.1 requires no explicit initialization. The hacks in the library are not needed. They also happen to fail running Asterisk. ASTERISK-26109 #close Change-Id: I3b3efd5d80234a4c45a8ee58dcfe25b15d9ad100
This commit is contained in:
@@ -412,7 +412,7 @@ static int tcptls_stream_close(void *cookie)
|
||||
#else
|
||||
ERR_remove_state(0);
|
||||
#endif /* openssl == 1.0 */
|
||||
#endif /* openssl >= 1.1 */
|
||||
#endif /* openssl < 1.1 */
|
||||
}
|
||||
|
||||
SSL_free(stream->ssl);
|
||||
|
Reference in New Issue
Block a user