diff options
| author | 2026-06-17 15:08:30 -0400 | |
|---|---|---|
| committer | 2026-06-17 15:08:30 -0400 | |
| commit | ef3f687db0f53f026e808c4284e084255c9e9dd5 (patch) | |
| tree | 9271108ff34145b17696344eb727e44756001e12 /src/portal/cpy | |
| parent | 22d3be9264087ed80d034df0e805bd8101a7d381 (diff) | |
| download | camu-ef3f687db0f53f026e808c4284e084255c9e9dd5.tar.gz camu-ef3f687db0f53f026e808c4284e084255c9e9dd5.tar.bz2 camu-ef3f687db0f53f026e808c4284e084255c9e9dd5.zip | |
Update portal to avoid TLS fingerprinting
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/cpy')
| -rw-r--r-- | src/portal/cpy/portal.pyx | 8 | ||||
| -rw-r--r-- | src/portal/cpy/setup.py | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/portal/cpy/portal.pyx b/src/portal/cpy/portal.pyx index 6307a2d..ae209b5 100644 --- a/src/portal/cpy/portal.pyx +++ b/src/portal/cpy/portal.pyx @@ -7,16 +7,16 @@ import sys sys.path.append('./py') cdef int log_info(char *message) except -1: - return lib.log_info("%s", message) + return lib.log_info('%s', message) cdef int log_warn(char *message) except -1: - return lib.log_warn("%s", message) + return lib.log_warn('%s', message) cdef int log_error(char *message) except -1: - return lib.log_error("%s", message) + return lib.log_error('%s', message) cdef int log_debug(char *message) except -1: - return lib.log_debug("%s", message) + return lib.log_debug('%s', message) def encode_str(str): return str.encode('UTF-8') diff --git a/src/portal/cpy/setup.py b/src/portal/cpy/setup.py index d14068f..9d6e462 100644 --- a/src/portal/cpy/setup.py +++ b/src/portal/cpy/setup.py @@ -2,5 +2,5 @@ from setuptools import Extension from Cython.Build import cythonize from Cython.Compiler import Options Options.embed = True -alabaster_inc = "../../../subprojects/libalabaster/include" -cythonize([Extension("portal", ["./portal.pyx"], include_dirs=[alabaster_inc], extra_link_args=[], define_macros=[("AL_LOG_SECTION", "portal")])], language_level=3) +alabaster_inc = '../../../subprojects/libalabaster/include' +cythonize([Extension('portal', ['./portal.pyx'], include_dirs=[alabaster_inc], extra_link_args=[], define_macros=[('AL_LOG_SECTION', 'portal')])], language_level=3) |