m2crypto-0.13 problem

Robert Penz <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
Hi!

I've following problem with m2crypto-0.13.

p7, data =
SMIME.smime_load_pkcs7_bio(BIO.MemoryBuffer(open("../daten/testmail.eml",
"rb").read()))

returns

File "/usr/lib/python2.3/site-packages/M2Crypto/SMIME.py", line 93, in
smime_load_pkcs7_bio
 p7_ptr, bio_ptr = m2.smime_read_pkcs7(p7_bio._ptr())
SystemError: error return without exception set

but

p7, data = SMIME.smime_load_pkcs7("../daten/testmail.eml")

works.

--
Regards,
Robert
 ----------
Robert Penz
robert dot penz at outertech dot com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.