diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp.h')
| -rw-r--r-- | src/lib/libcrypto/ocsp/ocsp.h | 14 |
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 | ||
| 384 | OCSP_CERTID *OCSP_CERTID_dup(OCSP_CERTID *id); | 384 | OCSP_CERTID *OCSP_CERTID_dup(OCSP_CERTID *id); |
| 385 | 385 | ||
| 386 | OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, char *path, OCSP_REQUEST *req); | 386 | OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req); |
| 387 | OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, char *path, OCSP_REQUEST *req, | 387 | OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, |
| 388 | int maxline); | 388 | int maxline); |
| 389 | int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx); | 389 | int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx); |
| 390 | void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx); | 390 | void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx); |
| @@ -428,8 +428,8 @@ int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, | |||
| 428 | int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, | 428 | int 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 | ||
| 431 | int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, | 431 | int OCSP_parse_url(const char *url, char **phost, char **pport, |
| 432 | int *pssl); | 432 | char **ppath, int *pssl); |
| 433 | 433 | ||
| 434 | int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b); | 434 | int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b); |
| 435 | int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b); | 435 | int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b); |
| @@ -449,13 +449,13 @@ int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert); | |||
| 449 | int OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key, | 449 | int 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 | ||
| 452 | X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim); | 452 | X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim); |
| 453 | 453 | ||
| 454 | X509_EXTENSION *OCSP_accept_responses_new(char **oids); | 454 | X509_EXTENSION *OCSP_accept_responses_new(char **oids); |
| 455 | 455 | ||
| 456 | X509_EXTENSION *OCSP_archive_cutoff_new(char* tim); | 456 | X509_EXTENSION *OCSP_archive_cutoff_new(char* tim); |
| 457 | 457 | ||
| 458 | X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls); | 458 | X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, const char **urls); |
| 459 | 459 | ||
| 460 | int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x); | 460 | int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x); |
| 461 | int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); | 461 | int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); |
