aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-08-30 10:41:32 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2018-08-30 10:41:32 -0400
commit002fa75d6c57420ed1805e088e1d6ecbce880938 (patch)
treeda85fb85fd2e9ba73b180611270948c47d5696c4 /src/_cffi_src/openssl
parent2284eea98847bd42d3ddf7dead504baf3d544d98 (diff)
downloadcryptography-002fa75d6c57420ed1805e088e1d6ecbce880938.tar.gz
cryptography-002fa75d6c57420ed1805e088e1d6ecbce880938.tar.bz2
cryptography-002fa75d6c57420ed1805e088e1d6ecbce880938.zip
make an ocsp request (#4402)
* make an ocsp request * update test, add docs * make it an OCSPRequestBuilder * review feedback and more tests * make it a class * empty commit to retrigger * type check
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r--src/_cffi_src/openssl/ocsp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/ocsp.py b/src/_cffi_src/openssl/ocsp.py
index 1701f41c..61546027 100644
--- a/src/_cffi_src/openssl/ocsp.py
+++ b/src/_cffi_src/openssl/ocsp.py
@@ -35,6 +35,8 @@ OCSP_ONEREQ *OCSP_request_onereq_get0(OCSP_REQUEST *, int);
int OCSP_ONEREQ_get_ext_count(OCSP_ONEREQ *);
X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *, int);
OCSP_CERTID *OCSP_onereq_get0_id(OCSP_ONEREQ *);
+OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *, OCSP_CERTID *);
+OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *, const X509 *, const X509 *);
OCSP_BASICRESP *OCSP_BASICRESP_new(void);