From d3602088603605f39993f03781163df2decf85e3 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Fri, 4 Mar 2022 06:28:57 +0000 Subject: [PATCH] Document bug in openssl cms -binary Documents a bug in openssl cms -binary for 1.1 whereby it cannot process input using LF line endings correctly. Binary input processing was reworked substantially for 3.0 and backporting these changes doesn't appear reasonable. Fixes #17797. Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17810) --- doc/man1/cms.pod | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/man1/cms.pod b/doc/man1/cms.pod index 2caf3ef4d1..c216995055 100644 --- a/doc/man1/cms.pod +++ b/doc/man1/cms.pod @@ -719,6 +719,9 @@ the list of permitted ciphers in a database and only use those. No revocation checking is done on the signer's certificate. +The B<-binary> option does not work correctly when processing text input which +(contrary to the S/MIME specification) uses LF rather than CRLF line endings. + =head1 HISTORY The use of multiple B<-signer> options and the B<-resign> command were first -- 2.34.1