mirror of https://github.com/openssl/openssl.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 <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25829)
(cherry picked from commit 1d160dbf39)
			
			
This commit is contained in:
		
							parent
							
								
									a58bbf642d
								
							
						
					
					
						commit
						5e95ae3b29
					
				| 
						 | 
					@ -396,9 +396,9 @@ Verify a message and extract the signer's certificate if successful:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send encrypted mail using triple DES:
 | 
					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" \
 | 
					        -to someone@somewhere -subject "Encrypted message" \
 | 
				
			||||||
        -des3 user.pem -out mail.msg
 | 
					        -des3 user.pem
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Sign and encrypt mail:
 | 
					Sign and encrypt mail:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue