diff options
| author | tb <> | 2018-08-24 20:03:21 +0000 |
|---|---|---|
| committer | tb <> | 2018-08-24 20:03:21 +0000 |
| commit | e630d1afcc58ea539abeff9301f86c030be16af5 (patch) | |
| tree | 0b1c2c53a42a86cb739eac2d97bb6de5d037441d /src/lib/libcrypto/ocsp/ocsp.h | |
| parent | b2896b6759d33e259f8f56f743ec2d54f5002a50 (diff) | |
| download | openbsd-e630d1afcc58ea539abeff9301f86c030be16af5.tar.gz openbsd-e630d1afcc58ea539abeff9301f86c030be16af5.tar.bz2 openbsd-e630d1afcc58ea539abeff9301f86c030be16af5.zip | |
Add const to two arguments of OCSP_cert_to_id()
tested in a bulk by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp.h')
| -rw-r--r-- | src/lib/libcrypto/ocsp/ocsp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp.h b/src/lib/libcrypto/ocsp/ocsp.h index fd3d45afb2..316fb8ed93 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.15 2018/05/13 10:42:03 tb Exp $ */ | 1 | /* $OpenBSD: ocsp.h,v 1.16 2018/08/24 20:03:21 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 | ||
| @@ -392,7 +392,8 @@ int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req); | |||
| 392 | int OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx, const char *name, | 392 | int OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx, const char *name, |
| 393 | const char *value); | 393 | const char *value); |
| 394 | 394 | ||
| 395 | OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); | 395 | OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, const X509 *subject, |
| 396 | const X509 *issuer); | ||
| 396 | 397 | ||
| 397 | OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, const X509_NAME *issuerName, | 398 | OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, const X509_NAME *issuerName, |
| 398 | const ASN1_BIT_STRING *issuerKey, const ASN1_INTEGER *serialNumber); | 399 | const ASN1_BIT_STRING *issuerKey, const ASN1_INTEGER *serialNumber); |
