diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2009-02-06 06:10:48 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2009-02-06 06:10:48 +0000 |
commit | c52bd0f5f17bda31273757cb82c3ad664d6330c4 (patch) | |
tree | 97d17690c183762426325711cadc4474f12d0950 /CHANGES | |
parent | 95f69d9edc6a02f2bc1669263892065793c712e8 (diff) | |
download | m2crypto-c52bd0f5f17bda31273757cb82c3ad664d6330c4.tar.gz |
Bug 12713, do not raise str exceptions:
- EVP.load_key and load_key_bio fixed to raise EVP.EVPError and BIO.BIOError
- SSL.Session.load_session fixed to raise SSL.SSLError
- SMIME.load_pkcs7, load_pkcs7_bio, smime_load_pkcs7, smime_load_pkcs7_bio,
text_crlf, text_crlf_bio fixed to raise BIO.BIOError, SMIME.PKCS7_Error and
SMIME.SMIME_Error as appropriate
Additionally fixed:
- SMIME.text_crlf and text_crlf_bio were always raising TypeError
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@663 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -8,6 +8,13 @@ Pavel Shramov - Reverted a change done in 0.17 to m2urllib2 which changed urls to include host when it should stay as it was +- SMIME.text_crlf and text_crlf_bio were always raising TypeError; fixed +- EVP.load_key and load_key_bio fixed to raise EVP.EVPError and BIO.BIOError + instead of str (str exceptions not allowed in Python 2.6 and later) +- SSL.Session.load_session fixed to raise SSL.SSLError instead of str +- SMIME.load_pkcs7, load_pkcs7_bio, smime_load_pkcs7, smime_load_pkcs7_bio, + text_crlf, text_crlf_bio fixed to raise BIO.BIOError, SMIME.PKCS7_Error and + SMIME.SMIME_Error as appropriate instead of str 0.19.1 - 2008-10-12 ------------------- |