diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2021-10-24 20:19:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-25 08:19:53 +0800 |
| commit | 16bfb57fc7ae67cab59c3dfb9338d33ba4f6e681 (patch) | |
| tree | 8d5e8146e43f22bcaa9cdeb0c62c4806e88433be /src/_cffi_src | |
| parent | 6f20e0674a075930324fba012cf14c2a56fd742d (diff) | |
| download | cryptography-16bfb57fc7ae67cab59c3dfb9338d33ba4f6e681.tar.gz | |
Port OCSP Response generation to Rust (#6460)
* xxx
* The rest
* file
* first milestone!
* progress
* Good progress
* Aaaand, tests pass!
* linter fixes
* moar linting
* moar linting
* style on that coverage
* Flesh this out
* reformat
* Remove RSA+DSA support, will be added back later
* Refactor to avoid todo!() branch
* sha384 support
* Unused
* Suggesting I learn to spell? It's a bold move cotton, let's see how it pays off
Diffstat (limited to 'src/_cffi_src')
| -rw-r--r-- | src/_cffi_src/build_openssl.py | 1 | ||||
| -rw-r--r-- | src/_cffi_src/openssl/ocsp.py | 40 |
2 files changed, 0 insertions, 41 deletions
diff --git a/src/_cffi_src/build_openssl.py b/src/_cffi_src/build_openssl.py index 2ee3f4bff..95e9d138e 100644 --- a/src/_cffi_src/build_openssl.py +++ b/src/_cffi_src/build_openssl.py @@ -99,7 +99,6 @@ ffi = build_ffi_for_binding( "hmac", "nid", "objects", - "ocsp", "opensslv", "osrandom_engine", "pem", diff --git a/src/_cffi_src/openssl/ocsp.py b/src/_cffi_src/openssl/ocsp.py deleted file mode 100644 index 093805a1c..000000000 --- a/src/_cffi_src/openssl/ocsp.py +++ /dev/null @@ -1,40 +0,0 @@ -# This file is dual licensed under the terms of the Apache License, Version -# 2.0, and the BSD License. See the LICENSE file in the root of this repository -# for complete details. - - -INCLUDES = """ -#include <openssl/ocsp.h> -""" - -TYPES = """ -typedef ... OCSP_ONEREQ; -typedef ... OCSP_RESPONSE; -typedef ... OCSP_BASICRESP; -typedef ... OCSP_SINGLERESP; -typedef ... OCSP_CERTID; -static const long OCSP_NOCERTS; -static const long OCSP_RESPID_KEY; -""" - -FUNCTIONS = """ -OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *, const X509 *, const X509 *); -void OCSP_CERTID_free(OCSP_CERTID *); - -OCSP_BASICRESP *OCSP_BASICRESP_new(void); -void OCSP_BASICRESP_free(OCSP_BASICRESP *); -OCSP_SINGLERESP *OCSP_basic_add1_status(OCSP_BASICRESP *, OCSP_CERTID *, int, - int, ASN1_TIME *, ASN1_TIME *, - ASN1_TIME *); -int OCSP_basic_add1_cert(OCSP_BASICRESP *, X509 *); -int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *, X509_EXTENSION *, int); -int OCSP_basic_sign(OCSP_BASICRESP *, X509 *, EVP_PKEY *, const EVP_MD *, - Cryptography_STACK_OF_X509 *, unsigned long); -OCSP_RESPONSE *OCSP_response_create(int, OCSP_BASICRESP *); -void OCSP_RESPONSE_free(OCSP_RESPONSE *); - -int i2d_OCSP_RESPONSE_bio(BIO *, OCSP_RESPONSE *); -""" - -CUSTOMIZATIONS = """ -""" |
