Skip to content

Commit b718d95

Browse files
committed
squash! src,deps,build,test: add OpenSSL config appname
Fix lint issues.
1 parent 45b7659 commit b718d95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1099,18 +1099,18 @@ InitializationResult InitializeOncePerProcess(
10991099
std::string env_openssl_conf;
11001100
credentials::SafeGetenv("OPENSSL_CONF", &env_openssl_conf);
11011101
if (!env_openssl_conf.empty()) {
1102-
conf_file = env_openssl_conf.c_str();
1102+
conf_file = env_openssl_conf.c_str();
11031103
}
11041104
// Use --openssl-conf command line option if specified.
11051105
if (!per_process::cli_options->openssl_config.empty()) {
1106-
conf_file = per_process::cli_options->openssl_config.c_str();
1106+
conf_file = per_process::cli_options->openssl_config.c_str();
11071107
}
11081108

11091109
OPENSSL_INIT_SETTINGS* settings = OPENSSL_INIT_new();
11101110
OPENSSL_INIT_set_config_filename(settings, conf_file);
11111111
OPENSSL_INIT_set_config_appname(settings, conf_section_name);
11121112
OPENSSL_INIT_set_config_file_flags(settings,
1113-
CONF_MFLAGS_IGNORE_MISSING_FILE);
1113+
CONF_MFLAGS_IGNORE_MISSING_FILE);
11141114

11151115
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, settings);
11161116
OPENSSL_INIT_free(settings);

0 commit comments

Comments
 (0)