From ad7245610fff41af5be564e06983a5c1c550d37b Mon Sep 17 00:00:00 2001 From: evilaliv3 Date: Sat, 9 Jan 2016 20:18:20 +0100 Subject: [PATCH] Fix typ0 preventing to2web to start succesfully --- tor2web/utils/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tor2web/utils/ssl.py b/tor2web/utils/ssl.py index 5aedbeb8..8ff20d5e 100644 --- a/tor2web/utils/ssl.py +++ b/tor2web/utils/ssl.py @@ -130,7 +130,7 @@ def cacheContext(self): ecdh = _lib.EC_KEY_new_by_curve_name(_lib.NID_X9_62_prime256v1) ecdh = _ffi.gc(ecdh, _lib.EC_KEY_free) - _lib.SSL_CTX_set_tmp_ecdh(ctx.context, ecdh) + _lib.SSL_CTX_set_tmp_ecdh(ctx._context, ecdh) self._context = ctx