2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-03-25 11:43:31 +00:00

Removed redundant definitions introduced by merge attempt

This commit is contained in:
Jarrod Johnson
2024-08-08 10:09:29 -04:00
parent c754dc2641
commit 5be422958b

View File

@@ -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):