From: Zheyu Shen Date: Wed, 30 Oct 2024 08:34:12 +0000 (+0000) Subject: Fix incorrect openssl-smime doc sample command for encrypt X-Git-Tag: openssl-3.0.16~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a4f2d62ae566a6501c9aa597075873d2720dc26;p=thirdparty%2Fopenssl.git Fix incorrect openssl-smime doc sample command for encrypt Original documented sample command causes error. PEM recipient cert argument needs to go last. CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25829) (cherry picked from commit 1d160dbf39fbdba89389ddff54e45bacf278b04a) --- diff --git a/doc/man1/openssl-smime.pod.in b/doc/man1/openssl-smime.pod.in index 0b5dbb5df8f..ffd09704f83 100644 --- a/doc/man1/openssl-smime.pod.in +++ b/doc/man1/openssl-smime.pod.in @@ -394,9 +394,9 @@ Verify a message and extract the signer's certificate if successful: Send encrypted mail using triple DES: - openssl smime -encrypt -in in.txt -from steve@openssl.org \ + openssl smime -encrypt -in in.txt -out mail.msg -from steve@openssl.org \ -to someone@somewhere -subject "Encrypted message" \ - -des3 user.pem -out mail.msg + -des3 user.pem Sign and encrypt mail: