From: Sebastian Andrzej Siewior Date: Mon, 13 Jun 2022 07:11:34 +0000 (+0100) Subject: explicitely load all error strings - w/a bug on mipsel X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~1^2^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d5472cef57785f73a0b5285026005826fca6cdc4;p=nodejs.git explicitely load all error strings - w/a bug on mipsel Forwarded: https://github.com/openssl/openssl/issues/18535 Reviewed-by: Jérémy Lal Last-Update: 2022-06-13 Gbp-Pq: Topic deps Gbp-Pq: Name openssl-mips-18535.patch --- diff --git a/src/node.cc b/src/node.cc index 64a910e3a..7e20ade8b 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1080,7 +1080,10 @@ InitializationResult InitializeOncePerProcess( const char* conf = per_process::cli_options->openssl_config.c_str(); OPENSSL_INIT_set_config_filename(settings, conf); } - OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, settings); + OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG | + OPENSSL_INIT_LOAD_CRYPTO_STRINGS | + OPENSSL_INIT_ADD_ALL_CIPHERS | + OPENSSL_INIT_ADD_ALL_DIGESTS, settings); OPENSSL_INIT_free(settings); if (ERR_peek_error() != 0) {