summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/ocsp.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-02-05 00:35:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-02-05 00:35:06 +0000
commit26e083ccb72f0bfabb443c67b121ad8f9192217e (patch)
tree69a10b3e853f5c5b0f33c32d9feaced9d7f02357 /crypto/ocsp/ocsp.h
parent4978361212e01b405430c13cb4aa33bdfdeec190 (diff)
New function to copy nonce values from OCSP
request to response.
Diffstat (limited to 'crypto/ocsp/ocsp.h')
-rw-r--r--crypto/ocsp/ocsp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp.h b/crypto/ocsp/ocsp.h
index f77c4fd039..4826a709f0 100644
--- a/crypto/ocsp/ocsp.h
+++ b/crypto/ocsp/ocsp.h
@@ -412,11 +412,12 @@ OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst,
ASN1_BIT_STRING* issuerKey,
ASN1_INTEGER *serialNumber);
-OCSP_CERTSTATUS *OCSP_cert_status_new(int status, int reason, char *tim);
-
OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
+
int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
+int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
+
int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert);