提交 65fed130 authored 作者: Brian West's avatar Brian West

Fix warning when using older openssl libs.

warning: passing argument 1 of 'SSL_CIPHER_description' discards qualifiers from pointer target type
上级 455941d3
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论