def get_context(self): c = pyOpenSSLAdapter.get_context(self) c.set_options(SSL.OP_NO_SSLv2 | SSL.OP_NO_SSLv3) return c