Skip to content

Commit ad72456

Browse files
committed
Fix typ0 preventing to2web to start succesfully
1 parent c2deb69 commit ad72456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tor2web/utils/ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def cacheContext(self):
130130

131131
ecdh = _lib.EC_KEY_new_by_curve_name(_lib.NID_X9_62_prime256v1)
132132
ecdh = _ffi.gc(ecdh, _lib.EC_KEY_free)
133-
_lib.SSL_CTX_set_tmp_ecdh(ctx.context, ecdh)
133+
_lib.SSL_CTX_set_tmp_ecdh(ctx._context, ecdh)
134134

135135
self._context = ctx
136136

0 commit comments

Comments
 (0)