Commit 4500424105 for openssl.org
commit 4500424105a222f9cd82c740934f08d6238e0fc3
Author: Eugene Syromiatnikov <esyr@openssl.org>
Date: Mon Jul 13 10:44:55 2026 +0200
doc/man7/openssl-env.pod: fix and augment OPENSSL_RUNNING_UNIT_TESTS description
Commit 619a0fe71825 "Fix unit tests when run under fuzz builds"
not just inserted a new entry, that describes OPENSSL_RUNNING_UNIT_TESTS
environment variable, out of the lexicographical order, but did so
in the middle of the OPENSSL_TRACE environment variable description;
also, it contained formatting that is not valid POD syntax, for some
reason ("`make test`").
Move the item to a correct place, correct the formatting, typos,
and add missing essential information about applicability
and security considerations.
Fixes: 619a0fe71825 "Fix unit tests when run under fuzz builds"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Andrew Dinh <andrewd@openssl.org>
MergeDate: Sat Aug 1 03:03:42 2026
(Merged from https://github.com/openssl/openssl/pull/31973)
diff --git a/doc/man7/openssl-env.pod b/doc/man7/openssl-env.pod
index 945cc0ecca..82e43e2a7e 100644
--- a/doc/man7/openssl-env.pod
+++ b/doc/man7/openssl-env.pod
@@ -91,6 +91,19 @@ Equivalently, the generic B<-provider-path> command-line option may be used.
This variable is considered a security-sensitive environment variable.
+=item B<OPENSSL_RUNNING_UNIT_TESTS>
+
+This environment variable is used to flag the fact that unit tests are being run
+(i.e. C<make test>).
+It is used to detect when OpenSSL should behave in a special manner
+during unit tests (i.e. when unit tests are being run on fuzzing builds).
+It should generally not be set by users.
+
+This variable is available only when OpenSSL is built
+with C<-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION>.
+
+This variable is not considered security-sensitive.
+
=item B<OPENSSL_SEC_MEM>
Initializes the secure memory at the beginning of the application which makes
@@ -130,13 +143,6 @@ This output usually makes sense only if you know OpenSSL internals well.
The value of this environment variable is a comma-separated list of names,
with the following available:
-=item B<OPENSSL_RUNNING_UNIT_TESTS>
-
-This environment variable is used to flag the fact that unit tests are being run
-(i.e. `make test`). It is used to detect when the OpenSSL should behave in a special
-manner during unit tests (i.e. when unit tests are being run on fuzzing builds). It should
-generally not be set by users.
-
=over 4
=item B<ALL>