From: Kelsey Mulrooney Date: Tue, 4 Mar 2025 18:25:53 +0000 (-0500) Subject: Improve documentation for -cipher option in openssl genpkey X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf4c852893485689ae6ea660b7bb3b1819d85774;p=thirdparty%2Fopenssl.git Improve documentation for -cipher option in openssl genpkey CLA: trivial Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27260) --- diff --git a/doc/man1/openssl-genpkey.pod.in b/doc/man1/openssl-genpkey.pod.in index 1daa55df05b..9824aa7a847 100644 --- a/doc/man1/openssl-genpkey.pod.in +++ b/doc/man1/openssl-genpkey.pod.in @@ -74,8 +74,10 @@ see L. =item B<-I> -This option encrypts the private key with the supplied cipher. Any algorithm -name accepted by EVP_get_cipherbyname() is acceptable such as B. +Encrypts the private key using the specified algorithm. The algorithm can be +specified using a name that is accepted by the EVP_get_cipherbyname() function. +For example, use the syntax B<-aes-128-cbc> to specify the AES encryption +algorithm with a 128-bit key in CBC mode. =item B<-algorithm> I