mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
Fix warning when using older openssl libs.
warning: passing argument 1 of 'SSL_CIPHER_description' discards qualifiers from pointer target type
This commit is contained in:
@@ -550,7 +550,11 @@ su_inline
|
||||
int tls_post_connection_check(tport_t *self, tls_t *tls)
|
||||
{
|
||||
X509 *cert;
|
||||
#if OPENSSL_VERSION_NUMBER < 0x009080bfL
|
||||
SSL_CIPHER *cipher;
|
||||
#else
|
||||
const SSL_CIPHER *cipher;
|
||||
#endif
|
||||
char cipher_description[256];
|
||||
int cipher_bits, alg_bits;
|
||||
int extcount;
|
||||
|
||||
Reference in New Issue
Block a user