Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/wapython
Path: blob/main/core/openssl/src/patches/01-cleanup-hack.patch
1067 views
1
--- native/crypto/init.c 2022-11-01 07:14:36
2
+++ wasm/crypto/init.c 2022-11-15 00:21:33
3
@@ -343,6 +343,11 @@
4
5
void OPENSSL_cleanup(void)
6
{
7
+ // Hack on WebAssembly for now. I think there's an issue involving confusion and threads...
8
+ // Without this, when using the python ssl module, it frequently fails with "unknown error",
9
+ // basically since for some reason openssl is shut down and done.
10
+ return;
11
+
12
OPENSSL_INIT_STOP *currhandler, *lasthandler;
13
14
/*
15
16