Skip to content

Commit 89035b0

Browse files
committed
squash! src,deps,build,test: add OpenSSL config appname
Fix lint issues.
1 parent 62c6a95 commit 89035b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,18 +1096,18 @@ InitializationResult InitializeOncePerProcess(
10961096
std::string env_openssl_conf;
10971097
credentials::SafeGetenv("OPENSSL_CONF", &env_openssl_conf);
10981098
if (!env_openssl_conf.empty()) {
1099-
conf_file = env_openssl_conf.c_str();
1099+
conf_file = env_openssl_conf.c_str();
11001100
}
11011101
// Use --openssl-conf command line option if specified.
11021102
if (!per_process::cli_options->openssl_config.empty()) {
1103-
conf_file = per_process::cli_options->openssl_config.c_str();
1103+
conf_file = per_process::cli_options->openssl_config.c_str();
11041104
}
11051105

11061106
OPENSSL_INIT_SETTINGS* settings = OPENSSL_INIT_new();
11071107
OPENSSL_INIT_set_config_filename(settings, conf_file);
11081108
OPENSSL_INIT_set_config_appname(settings, conf_section_name);
11091109
OPENSSL_INIT_set_config_file_flags(settings,
1110-
CONF_MFLAGS_IGNORE_MISSING_FILE);
1110+
CONF_MFLAGS_IGNORE_MISSING_FILE);
11111111

11121112
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, settings);
11131113
OPENSSL_INIT_free(settings);

0 commit comments

Comments
 (0)