summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Stop using string module, which has been deprecated.Matěj Cepl2019-11-241-1/+1
|
* Replace all old-style classes with the new onesMatěj Cepl2018-03-131-1/+1
|
* Add missing definition of fd (as WSAPOLLFD) for Windows.Matěj Cepl2018-02-221-180/+0
| | | | Also, cleanup whitespace
* Clean up imports and PEP8izationMatěj Cepl2016-12-153-5/+6
| | | | | Using PyCharm "Inspect Code..." functionality I found plenty of problems.
* Replace ASN1_UTCTIME with ASN1_TIME which supports both UTCTime andAndrew Waters2016-10-141-2/+2
| | | | GeneralizedTime.
* Remove contrib/m2crypto.specMatěj Cepl2016-07-211-46/+0
| | | | It is not used anyway by anybody, and I have philosophical objections to upstream maintaining SPEC files.
* contrib/dispatcher.py: Fix M2Crypto imports.Matěj Cepl2016-07-191-67/+49
| | | | Also fix zillion of PEP8 issues.
* Use better defaults for SSL_CTX_new().Matěj Cepl2016-07-191-1/+1
| | | | | Either TLS_method() is available, or SSLv23_method(), but remove explicit selection of sslv23.
* contrib/dispatcher.py: CRLF -> LF && remove trailing whitespace.Matěj Cepl2016-07-141-194/+194
|
* I mean, compatibility with python < 2.0 or similar ... really?Matěj Cepl2015-11-192-104/+68
|
* Strip trailinig spaces and expand tabs.Matěj Cepl2015-11-193-129/+129
| | | | | | | Just run $ find . -name \*.py -exec sed -r -i -e "s/\t/ /g" '{}' \; $ find . -name \*.py -exec sed -r -i -e "s/[ ]+$//" '{}' \;
* Use print as a function for Python 3. [PEP 3105]Craig Rodrigues2015-11-163-12/+18
| | | | | | For Python 2 compatibility, import print_function from the __future__ module. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html
* Merge branch 'PEP3110' into 'master' Matěj Cepl2015-11-141-4/+4
|\ | | | | | | | | | | | | | | Fix exception handling syntax for Python 3. [PEP-3110] This syntax was backported to Python 2.6: https://docs.python.org/2/whatsnew/2.6.html#pep-3110-exception-handling-changes See merge request !10
| * Fix exception handling syntax for Python 3. [PEP-3110]Craig Rodrigues2015-11-131-4/+4
| | | | | | | | | | This syntax was backported to Python 2.6: https://docs.python.org/2/whatsnew/2.6.html#pep-3110-exception-handling-changes
* | Fix syntax for raising exceptions for Python 3. [PEP 3109] [PEP 0352]Craig Rodrigues2015-11-141-1/+1
|/ | | | | | | | See: https://www.python.org/dev/peps/pep-3109/ https://www.python.org/dev/peps/pep-0352/ This syntax has been backported to Python 2.5 and Python 2.6.
* Fix S/MIME examples and documentation.Miloslav Trmač2015-10-131-2/+2
| | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=618500 for more. Rather large reproducer is also included in the bug report.
* Removed RCS_id, RCS_ID and _RCS_id from Python files. UnneededHeikki Toivonen2006-03-201-2/+0
| | | | | | bloat, and made working with diffs more difficult than it needed to. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@383 2715db39-9adf-0310-9c64-84f055769b4b
* Bring up to date.Heikki Toivonen2006-02-241-18/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@346 2715db39-9adf-0310-9c64-84f055769b4b
* Fix $ mess (diff always shows changes).Heikki Toivonen2005-06-091-1/+1
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@299 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 1701, eliminate C pointers from interfaces and use M2Crypto objects ↵Heikki Toivonen2005-05-171-10/+5
| | | | | | instead. Also some cleanup and minor stuff. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@279 2715db39-9adf-0310-9c64-84f055769b4b
* *** empty log message ***Ng Pheng Siong2004-03-213-2/+178
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@207 2715db39-9adf-0310-9c64-84f055769b4b
* *** empty log message ***Ng Pheng Siong2003-10-262-0/+190
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@197 2715db39-9adf-0310-9c64-84f055769b4b
* *** empty log message ***Ng Pheng Siong2002-12-292-0/+289
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@158 2715db39-9adf-0310-9c64-84f055769b4b
* *** empty log message ***Ng Pheng Siong2002-12-293-2/+251
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@156 2715db39-9adf-0310-9c64-84f055769b4b
* *** empty log message ***Ng Pheng Siong2002-12-234-0/+280
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@142 2715db39-9adf-0310-9c64-84f055769b4b