mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +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:
parent
455941d369
commit
65fed130e5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user