Do not write information about FIPS mode to stderr (#1778224)

This commit is contained in:
Jakub Jelen 2020-02-17 14:30:49 +01:00
parent 2b86acd332
commit ee9cb005b3
1 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@ diff -up openssh-8.0p1/ssh.c.fips openssh-8.0p1/ssh.c
seed_rng(); seed_rng();
+ if (FIPS_mode()) { + if (FIPS_mode()) {
+ logit("FIPS mode initialized"); + debug("FIPS mode initialized");
+ } + }
+ +
/* /*
@ -489,7 +489,7 @@ diff -up openssh-8.0p1/sshd.c.fips openssh-8.0p1/sshd.c
log_init(__progname, options.log_level, options.log_facility, log_stderr); log_init(__progname, options.log_level, options.log_facility, log_stderr);
+ if (FIPS_mode()) { + if (FIPS_mode()) {
+ logit("FIPS mode initialized"); + debug("FIPS mode initialized");
+ } + }
+ +
/* Chdir to the root directory so that the current disk can be /* Chdir to the root directory so that the current disk can be