黒翼猫はWin9x で動くOpenSSL 1.1.0を作れるか?その5
黒翼猫はWin9x で動くOpenSSL 1.1.0を作れるか?その1
static void unimplemented(void) { OPENSSL_showfatal(sizeof(TCHAR) == sizeof(char) ? "%s\n" : "%S\n", msg); TerminateProcess(GetCurrentProcess(), 1); } void OPENSSL_Uplink(volatile void **table, int index) do { if ((h = apphandle) == NULL) { |
トレースしてみると、どうもここで プロセス強制終了されてるらしい。なんでや!
GetModuleHandle(NULL) が NULLのはずないし…。
※なお、GetModuleHandleW関数自体はWindows 95でも定義はされていますが、未実装なために常にNULLを返すので障害になっています。 |
4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:crypto\rand\drbg_lib.c:342: 4294617269:error:2406B072:random number generator:RAND_DRBG_generate:in error state:crypto\rand\drbg_lib.c:588: 4294617269:error:140A9041:SSL routines:SSL_CTX_new:malloc failure:ssl\ssl_lib.c:3101: |
うにゅー (・ω・) 。o (これは困った)
Comments