From: Eugene Syromiatnikov Date: Thu, 10 Jul 2025 17:05:33 +0000 (+0200) Subject: Document SSL_CIPHER environment variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0afaa27df791eb5dc996309e14ba8ba319fa99aa;p=thirdparty%2Fopenssl.git Document SSL_CIPHER environment variable It is apparently checked/used by openssl s_time when -cipher option is not set. Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/28025) --- diff --git a/doc/man1/openssl-s_time.pod.in b/doc/man1/openssl-s_time.pod.in index ca41f59362f..50729181478 100644 --- a/doc/man1/openssl-s_time.pod.in +++ b/doc/man1/openssl-s_time.pod.in @@ -134,6 +134,18 @@ See L. =back +=head1 ENVIRONMENT + +=over 4 + +=item B + +If the B<-cipher> option is not specified, the contents of this environment +variable are used to modify the TLSv1.2 and below cipher list sent +by the client the same way the aforementioned option does. + +=back + =head1 NOTES This command can be used to measure the performance of an SSL connection. diff --git a/doc/man7/openssl-env.pod b/doc/man7/openssl-env.pod index d0a7271cc52..41b3884adb5 100644 --- a/doc/man7/openssl-env.pod +++ b/doc/man7/openssl-env.pod @@ -210,6 +210,12 @@ Use of this feature should be restricted to test and debug environments only. Specify the default directory or file containing CA certificates. See L. +=item B + +Used by L in case B<-cipher> option (that allows modifying +TLSv1.2 and below cipher list sent by the client) is not provided, +for specification of the aforementioned ciphers. + =item B Additional arguments for the L command.