Christian Heimes

Results 196 comments of Christian Heimes

I found a problem with Emscripten ports, see https://github.com/emscripten-core/emscripten/issues/17675 To work around the problem, do ``embuilder build --pic sqlite3`` and add this to Modules/Setup.local ``` *shared* _sqlite3 _sqlite/blob.c _sqlite/connection.c _sqlite/cursor.c...

You need to build ``readline`` with ``-DNEED_EXTERN_PC``. Otherwise you'll get several duplicate symbol conflicts: ``` wasm-ld: error: duplicate symbol: PC >>> defined in /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libreadline.a(terminal.o) >>> defined in /emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libtermcap.a(termcap.o) wasm-ld: error:...

From my notes ## termcap ``` emconfigure ./configure --prefix=/opt/emsdk-extras ``` Create config.h to work around missing headers (``write`` needs ``unistd.h``) ``` cat > config.h

Hi, is there any progress on this issue? I would like to use ``--tcplisten`` to experiment with sockets from CPython WASI port. For now Python also requires ``--mapdir`` or ``--dir``...

IMHO it's bad practice to configure any TLS and crypto-related settings in an application. Cipher suites, key strength, TLS versions, and trust store should be configured globally on operating system...

@reaperhulk You also need the fallback for LibreSSL < 2.7.1.

CPython's approach may not be the best approach. Some decisions and workarounds pre-date OpenSSL 0.9.8.

Semi-related question: Since when does FreeBSD use LibreSSL? I was under the impression that FreeBSD uses OpenSSL in core and ports. Or is this a custom ports build with LibreSSL...

Thanks for the information! Over the years the paths of OpenSSL and LibreSSL have separated. Although LibreSSL initially started as a fork of OpenSSL 1.0.1g, it's no longer a drop-in...

Python implements timeout on top of standard socket IO with ```select()``` or ```poll()```. In order to implement timeout on top of OpenSSL, you have to re-implement Python's implementation with ```select()```,...