forked from rpms/openssh
Do not write information about FIPS mode to stderr (#1778224)
This commit is contained in:
parent
2b86acd332
commit
ee9cb005b3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user