| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
* Replace unittest.makeSuite with unittest.TestLoader().loadTestsFromTestCase
* import unittest from relative import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When OpenSSL encounters an error, M2Crypto prints only the "reason string"
(given by ERR_reason_error_string()). This string often contains only very
generic message. For example, for all certificate verification errors, the
string is the same "certificate verify error".
OpenSSL applications (e.g. the command-line utilities from OpenSSL
distribution) additionally show "optional text message" as given by
ERR_get_error_line_data(). This message contains more detailed error
reason, such as for example "certificate revoked".
Added this message (if given by OpenSSL) to the Python error text.
|
|
|
|
|
|
|
| |
Specially replace complicated construct with unittest2 to one import to
M2Crypto top module.
Also, Rand.load_file should have first parameter as bytes(), not str().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Just run
$ find . -name \*.py -exec sed -r -i -e "s/\t/ /g" '{}' \;
$ find . -name \*.py -exec sed -r -i -e "s/[ ]+$//" '{}' \;
|
| |
|
| |
|
|
|
|
| |
Fixes #48
|
|
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@615 2715db39-9adf-0310-9c64-84f055769b4b
|