From e5beb894caf9ed629fde67ca5bf39e7518f49c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Mon, 28 Mar 2011 19:55:15 +0200 Subject: Fix S/MIME examples and documentation. See https://bugzilla.redhat.com/show_bug.cgi?id=618500 for more. Rather large reproducer is also included in the bug report. --- doc/howto.smime.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/howto.smime.html b/doc/howto.smime.html index ae8612e..3e77ad2 100644 --- a/doc/howto.smime.html +++ b/doc/howto.smime.html @@ -646,7 +646,7 @@ CLASS="PROGRAMLISTING" # Instantiate an SMIME object; set it up; sign the buffer. s = SMIME.SMIME() s.load_key('signer_key.pem', 'signer.pem') - p7 = s.sign(buf) + p7 = s.sign(buf, SMIME.PKCS7_DETACHED)