From d5472cef57785f73a0b5285026005826fca6cdc4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 13 Jun 2022 08:11:34 +0100 Subject: [PATCH] explicitely load all error strings - w/a bug on mipsel MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/node.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.30.2