# 需要导入模块: from OpenSSL import SSL [as 别名]# 或者: from OpenSSL.SSL importOP_NO_COMPRESSION[as 别名]deftest_tlsProtocolsreduceToMaxWithoutMin(self):""" When calling L{sslverify.OpenSSLCertificateOptions} with C{lowerMaximumSecurityTo} but no C{raiseMinimumTo} or C{insecurelyLowerMinimumT...
# 需要导入模块: import ssl [as 别名]# 或者: from ssl importOP_NO_COMPRESSION[as 别名]def_get_ssl_options(self, scheme):ifscheme =="https":ifself.request.ssl_optionsisnotNone:returnself.request.ssl_options# If we are using the defaults, don't construct a# new SSLContext.if(self.reque...
Description:Can't build with openssl 0.9.8e from RHEL / CentOS / Oracle Linux 5How to repeat:cmake -DWITH_SSL=system ... /builddir/build/BUILD/mysql-5.5.31/vio/viossl.c:175: error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in this function)Suggested fix:See trivial attached pat...
/home/centos/mysql-5.5.34/vio/viossl.c: In function ‘ssl_do’: /home/centos/mysql-5.5.34/vio/viossl.c:175: error: ‘SSL_OP_NO_COMPRESSION’ undeclared (first use in this function) /home/centos/mysql-5.5.34/vio/viossl.c:175: error: (Each undeclared identifier is reported only onc...