我们从Python开源项目中,提取了以下5个代码示例,用于说明如何使用OpenSSL.SSL.OP_NO_TICKET。
def test_op_no_ticket(self): """ The value of L{OpenSSL.SSL.OP_NO_TICKET} is 0x4000, the value of I{SSL_OP_NO_TICKET} defined by I{openssl/ssl.h}. """ self.assertEqual(OP_NO_TICKET, 0x4000)
def test_op_no_ticket(self): """ The value of :py:obj:`OpenSSL.SSL.OP_NO_TICKET` is 0x4000, the value of :py:const:`SSL_OP_NO_TICKET` defined by :file:`openssl/ssl.h`. """ self.assertEqual(OP_NO_TICKET, 0x4000)