Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | a few more func->macro transitions for 1.1.0 compatibility (#2885) | Paul Kehrer | 2016-04-30 | 4 | -4/+9 |
| | |||||
* | Add more bindings to OpenSSL, to be used by the Python _ssl module. (#2868) | Amaury Forgeot d'Arc | 2016-04-08 | 4 | -0/+63 |
| | | | | | | | | | | | | | | * 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 | ||||
* | simplify the macro def check | Paul Kehrer | 2016-03-28 | 1 | -1/+1 |
| | |||||
* | fix libressl breakage reported in #2858 | Paul Kehrer | 2016-03-28 | 1 | -1/+8 |
| | |||||
* | add EVP_PKEY_CTX_set_rsa_oaep_md | Paul Kehrer | 2016-03-25 | 1 | -0/+9 |
| | |||||
* | slowly re-add everything that was removed, but now conditional | Paul Kehrer | 2016-03-17 | 1 | -0/+4 |
| | |||||
* | sigh... and this one | Paul Kehrer | 2016-03-17 | 1 | -0/+2 |
| | |||||
* | need this one too | Paul Kehrer | 2016-03-17 | 1 | -0/+2 |
| | |||||
* | we need CRYPTO_LOCK & CRYPTO_UNLOCK on < 1.1.0 so conditionally bind them | Paul Kehrer | 2016-03-17 | 1 | -0/+11 |
| | |||||
* | in 1.1.0 OpenSSL does its own locking now! locking funcs are now macros | Paul Kehrer | 2016-03-17 | 1 | -9/+6 |
| | | | | | the macros are no ops. Also remove some constants that we never used and were related to locking | ||||
* | Merge pull request #2834 from reaperhulk/110-patch-40 | Alex Gaynor | 2016-03-17 | 1 | -1/+3 |
|\ | | | | | OPENSSL_free is a macro in 1.1.0 | ||||
| * | OPENSSL_free is a macro in 1.1.0 | Paul Kehrer | 2016-03-17 | 1 | -1/+3 |
| | | |||||
* | | remove EVP_F_EVP_PKEY2PKCS8_BROKEN, an err function const we never used | Paul Kehrer | 2016-03-17 | 1 | -1/+0 |
|/ | |||||
* | Merge pull request #2831 from reaperhulk/110-patch-37 | Alex Gaynor | 2016-03-16 | 1 | -1/+2 |
|\ | | | | | SSL_CIPHER_get_version gained a const return type in 1.1.0 | ||||
| * | SSL_CIPHER_get_version gained a const return type in 1.1.0 | Paul Kehrer | 2016-03-16 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #2830 from reaperhulk/110-patch-36 | Alex Gaynor | 2016-03-16 | 1 | -8/+0 |
|\ \ | | | | | | | remove more DSA bindings we don't use | ||||
| * | | remove more DSA bindings we don't use | Paul Kehrer | 2016-03-16 | 1 | -8/+0 |
| |/ | | | | | | | 1.1.0pre4 opaqued DSA_SIG, but it turns out we don't use it | ||||
* | | Merge pull request #2736 from cedk/ANSI_X.923 | Paul Kehrer | 2016-03-16 | 2 | -0/+25 |
|\ \ | |/ |/| | Added support for padding ANSI X.923 | ||||
| * | Add padding check for ANSI X.923 | Cédric Krier | 2016-02-27 | 2 | -0/+25 |
| | | | | | | | | All padding bytes must be 0. | ||||
* | | Merge pull request #2824 from reaperhulk/110-patch-34 | Alex Gaynor | 2016-03-14 | 1 | -18/+0 |
|\ \ | | | | | | | remove some EC functions we don't use | ||||
| * | | remove some EC functions we don't use | Paul Kehrer | 2016-03-13 | 1 | -18/+0 |
| | | | |||||
* | | | Merge pull request #2825 from reaperhulk/110-patch-35 | Alex Gaynor | 2016-03-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | one last 1.1.0 const switch to get rid of some warnings | ||||
| * | | | one last 1.1.0 const switch to get rid of some warnings | Paul Kehrer | 2016-03-13 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #2823 from reaperhulk/110-patch-33 | Alex Gaynor | 2016-03-13 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | in OpenSSL 1.1.0 these EC functions are no longer const args | ||||
| * | | | in OpenSSL 1.1.0 these EC functions are no longer const args | Paul Kehrer | 2016-03-13 | 1 | -2/+2 |
| |/ / | | | | | | | | | | Fixes a warning | ||||
* / / | these bio types no longer exist in 1.1.0 | Paul Kehrer | 2016-03-13 | 1 | -2/+0 |
|/ / | | | | | | | and...you guessed it, we don't use them and neither does pyOpenSSL | ||||
* | | Merge pull request #2809 from reaperhulk/110-patch-28 | Alex Gaynor | 2016-03-13 | 1 | -0/+48 |
|\ \ | | | | | | | add 5 accessor functions that exist in 1.1.0 to help opaque x509 structs | ||||
| * | | remove pointless comments | Paul Kehrer | 2016-03-13 | 1 | -8/+0 |
| | | | |||||
| * | | add 5 accessor functions that exist in 1.1.0 to help opaque x509 structs | Paul Kehrer | 2016-03-11 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | X509_REVOKED_get0_serialNumber X509_REVOKED_get0_revocationDate X509_CRL_get0_signature i2d_re_X509_REQ_tbs i2d_re_X509_CRL_tbs X509_REQ_get0_signature | ||||
* | | | bind some new functions to access elements of the SSL struct | Paul Kehrer | 2016-03-13 | 1 | -0/+46 |
| | | | | | | | | | | | | | | | | | | SSL_SESSION_get_master_key (added 1.1.0) SSL_get_client_random (added 1.1.0) SSL_get_server_random (added 1.1.0) | ||||
* | | | bind SSL_SESSION_set1_id_context | Paul Kehrer | 2016-03-13 | 1 | -0/+24 |
| | | | | | | | | | | | | added in 1.0.1 | ||||
* | | | Merge pull request #2808 from reaperhulk/110-patch-27 | Alex Gaynor | 2016-03-13 | 1 | -7/+12 |
|\ \ \ | | | | | | | | | bind SSL_CTX_get_ssl_method | ||||
| * | | | bind one new function to access part of the SSL struct | Paul Kehrer | 2016-03-13 | 1 | -7/+12 |
| |/ / | | | | | | | | | | | | | | | | SSL_CTX_get_ssl_method (added 1.0.2) also remove the internally invented symbol we had (that was not in use) | ||||
* | | | Merge pull request #2802 from reaperhulk/110-patch-23 | Alex Gaynor | 2016-03-13 | 1 | -6/+38 |
|\ \ \ | | | | | | | | | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signature | ||||
| * | | | improve comments | Paul Kehrer | 2016-03-12 | 1 | -4/+5 |
| | | | | |||||
| * | | | this was actually added in 1.0.2-beta3 | Paul Kehrer | 2016-03-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signature | Paul Kehrer | 2016-03-10 | 1 | -6/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | And, of course, use them in the openssl bindings. These changes are a start towards opaquing all the X509 structs. The actual opaquing won't take place until the very end though to minimize pyOpenSSL breakage | ||||
* | | | | Merge pull request #2807 from reaperhulk/110-patch-26 | Alex Gaynor | 2016-03-12 | 1 | -3/+22 |
|\ \ \ \ | | | | | | | | | | | conditionally bind/remove the SSL_ST/TLS_ST state machine statuses | ||||
| * | | | | conditionally bind/remove the SSL_ST/TLS_ST state machine statuses | Paul Kehrer | 2016-03-11 | 1 | -3/+22 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #2794 from reaperhulk/110-patch-15 | Alex Gaynor | 2016-03-12 | 1 | -4/+27 |
|\ \ \ \ | | | | | | | | | | | opaque HMAC_CTX, which requires some helper functions | ||||
| * | | | | HMAC_CTX_new doesn't need commented out code for no reason | Paul Kehrer | 2016-03-10 | 1 | -5/+0 |
| | | | | | |||||
| * | | | | simplify HMAC_CTX_free | Paul Kehrer | 2016-03-10 | 1 | -4/+0 |
| | | | | | |||||
| * | | | | opaque HMAC_CTX, which requires some helper functions | Paul Kehrer | 2016-03-09 | 1 | -4/+36 |
| | | | | | |||||
* | | | | | struct is a keyword | Alex Gaynor | 2016-03-11 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Don't make this struct opaque | Alex Gaynor | 2016-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | it breaks pyopenssl: https://jenkins.cryptography.io/job/pyopenssl-smoke/label=debian7,version=master/80/console | ||||
* | | | | | Merge pull request #2800 from reaperhulk/110-patch-21 | Alex Gaynor | 2016-03-11 | 1 | -5/+21 |
|\ \ \ \ \ | | | | | | | | | | | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_free | ||||
| * | | | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_free | Paul Kehrer | 2016-03-10 | 1 | -5/+21 |
| | |_|/ / | |/| | | | |||||
* | | | | | partially opaque RAND_METHOD | Paul Kehrer | 2016-03-11 | 1 | -3/+1 |
| |_|/ / |/| | | | | | | | | | | | | | | | We only populate bytes, pseudobytes, and status and in OpenSSL 1.1.0 seed and add changed signature (from void return to int). | ||||
* | | | | X509_STORE_CTX_get_ex_new_index is a macro in 1.1.0 | Paul Kehrer | 2016-03-10 | 1 | -2/+4 |
| | | | | |||||
* | | | | Merge pull request #2799 from reaperhulk/110-patch-20 | Alex Gaynor | 2016-03-10 | 1 | -8/+0 |
|\ \ \ \ | | | | | | | | | | | remove some error codes we don't use |