summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp/ocsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp.h')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp.h b/src/lib/libcrypto/ocsp/ocsp.h
index 80b108de85..fd3d45afb2 100644
--- a/src/lib/libcrypto/ocsp/ocsp.h
+++ b/src/lib/libcrypto/ocsp/ocsp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp.h,v 1.14 2018/05/13 10:30:52 tb Exp $ */ 1/* $OpenBSD: ocsp.h,v 1.15 2018/05/13 10:42:03 tb Exp $ */
2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL 2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
3 * project. */ 3 * project. */
4 4
@@ -383,8 +383,8 @@ typedef struct ocsp_service_locator_st {
383 383
384OCSP_CERTID *OCSP_CERTID_dup(OCSP_CERTID *id); 384OCSP_CERTID *OCSP_CERTID_dup(OCSP_CERTID *id);
385 385
386OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, char *path, OCSP_REQUEST *req); 386OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
387OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, char *path, OCSP_REQUEST *req, 387OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req,
388 int maxline); 388 int maxline);
389int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx); 389int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx);
390void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx); 390void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx);
@@ -428,8 +428,8 @@ int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
428int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, 428int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
429 X509_STORE *store, unsigned long flags); 429 X509_STORE *store, unsigned long flags);
430 430
431int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, 431int OCSP_parse_url(const char *url, char **phost, char **pport,
432 int *pssl); 432 char **ppath, int *pssl);
433 433
434int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b); 434int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
435int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b); 435int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
@@ -449,13 +449,13 @@ int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert);
449int OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key, 449int OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key,
450 const EVP_MD *dgst, STACK_OF(X509) *certs, unsigned long flags); 450 const EVP_MD *dgst, STACK_OF(X509) *certs, unsigned long flags);
451 451
452X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim); 452X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim);
453 453
454X509_EXTENSION *OCSP_accept_responses_new(char **oids); 454X509_EXTENSION *OCSP_accept_responses_new(char **oids);
455 455
456X509_EXTENSION *OCSP_archive_cutoff_new(char* tim); 456X509_EXTENSION *OCSP_archive_cutoff_new(char* tim);
457 457
458X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls); 458X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, const char **urls);
459 459
460int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x); 460int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x);
461int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); 461int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);