From 5be422958b31b475d9765a4d82f3433ca475aa93 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 8 Aug 2024 10:09:29 -0400 Subject: [PATCH] Removed redundant definitions introduced by merge attempt --- confluent_server/confluent/sockapi.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/confluent_server/confluent/sockapi.py b/confluent_server/confluent/sockapi.py index 8bd49689..b1a70753 100644 --- a/confluent_server/confluent/sockapi.py +++ b/confluent_server/confluent/sockapi.py @@ -390,23 +390,6 @@ async def _tlshandler(bind_host, bind_port): else: asyncio.create_task(_tlsstartup(cnn)) -@ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_void_p, ctypes.c_void_p) -def verify_stub(store, misc): - return 1 - -class PyObject_HEAD(ctypes.Structure): - _fields_ = [ - ("ob_refcnt", ctypes.c_ssize_t), - ("ob_type", ctypes.c_void_p), - ] - - -# see main/Modules/_ssl.c, only caring about the SSL_CTX pointer -class PySSLContext(ctypes.Structure): - _fields_ = [ - ("ob_base", PyObject_HEAD), - ("ctx", ctypes.c_void_p), - ] @ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_void_p, ctypes.c_void_p) def verify_stub(store, misc):