summaryrefslogtreecommitdiff
path: root/OpenSSL/crypto/crypto.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify code formatting in recently changed functions to what seems to be the ↵Ziga Seilnacht2009-12-221-21/+15
| | | | currently preferred style.
* Add a few more error checks around OpenSSL API calls.Ziga Seilnacht2009-12-221-0/+12
| | | | These errors can only occur in low memory conditions, so there is no reasonable way to test them.
* Raise an error if a passphrase is used with a private key format that does ↵Ziga Seilnacht2009-12-221-30/+29
| | | | | | not support encryption. Otherwise users might get an unpleasant surprise once they learn that their private key, which they thought was secure, is in fact readable by everyone.
* Additional error checks and a refcount fix for global_passphrase_callback.Ziga Seilnacht2009-12-221-2/+11
| | | | | | There were two really big problems in this function: the first one was the silent truncation of passphrases, the second was the refcounting bug, which kept the passphrase in memory until the process exited. See tests for details.
* Don't overwrite the error raised by the callback.Ziga Seilnacht2009-12-221-9/+17
|
* Whitespace cleanup.Ziga Seilnacht2009-12-221-3/+3
|
* Fix markup to be compatible with Sphinx and add rough API docJonathan Ballet2011-07-161-4/+4
|
* Convert Epytext markup to RST markupJonathan Ballet2011-07-161-37/+37
|
* Catch up to trunkJean-Paul Calderone2011-06-121-4/+13
|\
| * Fix a lot of reference counting bugs introduced by stupid copy/pastingJean-Paul Calderone2011-04-201-2/+2
| |
| * A bunch of PyPy fixesJean-Paul Calderone2011-04-181-1/+9
| |\
| | * Add a lot of missing Py_INCREFJean-Paul Calderone2011-03-121-1/+9
| | |
| * | Update copyright headers; remove pointless dates, add a pointer to the ↵Jean-Paul Calderone2011-03-021-3/+4
| |/ | | | | | | LICENSE file.
* | Fix bug #653830 - Cannot sign data with embedded NULs.David Brodsky2010-12-071-6/+8
|/ | | | | | The length od the data passed to the corresponding C functions should not be determined by strlen(), but directly taken from Python using '#' format specifier to PyArg_ParseTuple.
* Make the digest name to the verify function text instead of bytes, matching ↵Jean-Paul Calderone2010-10-021-2/+2
| | | | up with digest names elsewhere.
* Update bytes/str stuff in crypt_verify and crypto_signJean-Paul Calderone2010-08-281-4/+20
|
* Fix type definitions, module init return values, and unicode/bytes conversionsJean-Paul Calderone2010-08-111-8/+3
|
* Start porting the C to the Python 3 APIsJean-Paul Calderone2010-08-101-17/+44
|
* Move the src directory to an OpenSSL directory so it can be a package even ↵Jean-Paul Calderone2010-07-271-0/+849
in a source checkout; also dump the __init__.py into it