summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHeikki Toivonen <heikki@heikkitoivonen.net>2006-04-27 03:35:34 +0000
committerHeikki Toivonen <heikki@heikkitoivonen.net>2006-04-27 03:35:34 +0000
commit80cc76fdaf4de8dbc0761a060279a04f674230e1 (patch)
tree622cc3ac285f15141cef3f891b06ff7c9e6b06c7 /doc
parent4afbc0c16fb2ea93d9edaaf96950937231d9e59f (diff)
downloadm2crypto-80cc76fdaf4de8dbc0761a060279a04f674230e1.tar.gz
I believe we need to write both the signature AND the buffer
from which the signature was derived into the signed SMIME message which we then encrypt. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@428 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'doc')
-rw-r--r--doc/howto.smime.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/howto.smime.html b/doc/howto.smime.html
index 336e63e..3a7056f 100644
--- a/doc/howto.smime.html
+++ b/doc/howto.smime.html
@@ -991,7 +991,7 @@ CLASS="PROGRAMLISTING"
tmp = BIO.MemoryBuffer()
# Write the signed message into the temporary buffer.
- s.write(tmp, p7)
+ s.write(tmp, p7, buf)
# Encrypt the temporary buffer.
p7 = s.encrypt(tmp)