aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/err.py
Commit message (Collapse)AuthorAgeFilesLines
* bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test (#4726)Paul Kehrer2019-01-211-0/+9
| | | | | | | | | | | * bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test This will allow OpenSSL 1.1.1 on 32-bit (including our Windows 32-bit builders) to fail as expected. Technically this isn't a malloc error, but rather failing because the allocation requested is larger than 32-bits, but raising a MemoryError still seems appropriate * what you want an endif too?
* Raise MemoryError when backend.derive_scrypt can't malloc enough (#4592)Tux2018-12-081-0/+2
| | | | | | | | | | | | * Raise MemoryError when backend.derive_scrypt can't malloc enough * Expose ERR_R_MALLOC_FAILURE and use the reason_match pattern to catch it * Add test_scrypt_malloc_failure in test_scrypt * let's see if this passes * add comment to filippo's blog post about scrypt's params
* bind a constant for an error check (#4514)Paul Kehrer2018-10-231-0/+1
| | | I hate it when we have to do this.
* Cleanup unused err bindings. (#4246)David Benjamin2018-05-151-106/+0
| | | | | | | | | | | | | | | | | | | | | | | This removes: - ERR_get_state which really shouldn't be public API. - A bunch of functions that are really mostly useful within the library to add new errors. NB: I say mostly because they are also useful when trying to register a new error library, as osrandom does, but osrandom is written in C. Python code is more likely to be consuming errors. - All function codes but EVP_F_EVP_ENCRYPTFINAL_EX because tests still reference it. Per PR #3609, function codes are kind of unstable. This finishes that up and cleans up the bindings. - The "line" versions of querying the error queue, just because no one seems to be using them and there's a lot. - Error-printing functions, which make less sense in Python since you'd probably wrap in an exception. Error codes probably could also do with cleaning, but I've left them alone for now.
* Fixed #4058 -- use the thread-safe API from OpenSSL, not the danger one (#4059)Alex Gaynor2017-12-181-1/+0
|
* Funcs macros gone (#3695)Paul Kehrer2017-06-271-3/+0
| | | | | | | | * No more FUNCS/MACROS distinction * change the docs to not talk about MACROS since they're gone * remove out of date comment
* Ec is a thing (#3453)Alex Gaynor2017-03-151-7/+0
| | | | | | | | | | | | | | | | * We always have EC * We always have ECDH * We always have ECDSA * We always have EC codes * This can go as well * And this * unused import
* Add ASN1_F_ASN1_CHECK_TLEN (#3414)Aviv Palivoda2017-02-211-0/+1
|
* add error codes and ERR_get_state for pypy stdlib ssl (#3256)Paul Kehrer2016-11-191-2/+29
|
* add two error codes for pypy ssl stdlib (#3253)Paul Kehrer2016-11-191-0/+3
|
* remove two more constants that no longer exist and we don't use (#3101)Paul Kehrer2016-08-251-1/+0
|
* 0.9.8 error code conditionals no longer required (#2987)Paul Kehrer2016-06-181-48/+9
| | | | | | * 0.9.8 error code conditionals no longer required * move the error codes to be with their brethren
* A few more 1.1.0 compatibility changes (#2960)Paul Kehrer2016-06-031-13/+0
| | | | | | * remove some bindings we don't use * thread state is not required
* these constants no longer exist in 1.1.0 and we weren't using them (#2930)Paul Kehrer2016-05-301-43/+0
|
* a few more func->macro transitions for 1.1.0 compatibility (#2885)Paul Kehrer2016-04-301-1/+3
|
* Add more bindings to OpenSSL, to be used by the Python _ssl module. (#2868)Amaury Forgeot d'Arc2016-04-081-0/+22
| | | | | | | | | | | | | | * Add more bindings to OpenSSL, all are used by the Python _ssl module. * Add a conditional: SSL_CTX_clear_options() does not exist before 0.9.8m * 80 cols * Condionally define the TLSEXT error codes. * Address review comments * Remove all parameter names
* remove EVP_F_EVP_PKEY2PKCS8_BROKEN, an err function const we never usedPaul Kehrer2016-03-171-1/+0
|
* remove some error codes we don't usePaul Kehrer2016-03-101-8/+0
|
* error loading strings that no longer exist and are unusedPaul Kehrer2016-03-091-2/+0
|
* added the correct error handling for the failing testAlex Gaynor2016-03-051-0/+1
|
* RSA_R_OAEP_DECODING_ERROR is pretty ubiquitousPaul Kehrer2015-12-271-8/+0
|
* Add support for RSA_R_OAEP_DECODING_ERROR error flag.Christopher Grebs2015-12-271-0/+9
|
* remove openssl CONDITIONAL_NAMESPaul Kehrer2015-08-031-26/+0
|
* handle RSA key too small and consume errors on CSR signature failurePaul Kehrer2015-07-251-0/+1
|
* bind ERR_clear_errorGlyph2015-06-271-0/+1
|
* convert to cffi 1.0 precompile systemPaul Kehrer2015-06-071-0/+361