summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp/ocsp_lib.c
diff options
context:
space:
mode:
authortb <>2018-05-13 10:30:52 +0000
committertb <>2018-05-13 10:30:52 +0000
commit6769a8ec11de470e7988418e0ca2848218249d6c (patch)
treeba7f15031b7f14334671de28454fe74ad86c65eb /src/lib/libcrypto/ocsp/ocsp_lib.c
parentc56a8f621decfc65e51df9adeaf6e47ecc3b3779 (diff)
downloadopenbsd-6769a8ec11de470e7988418e0ca2848218249d6c.tar.gz
openbsd-6769a8ec11de470e7988418e0ca2848218249d6c.tar.bz2
openbsd-6769a8ec11de470e7988418e0ca2848218249d6c.zip
Add const qualifier to the X509_NAME *, ASN1_BIT_STRING *, and
ASN1_INTEGER * arguments of OCSP_cert_id_new(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_lib.c')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c
index d56a002096..f9a8d60bc1 100644
--- a/src/lib/libcrypto/ocsp/ocsp_lib.c
+++ b/src/lib/libcrypto/ocsp/ocsp_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp_lib.c,v 1.20 2017/01/29 17:49:23 beck Exp $ */ 1/* $OpenBSD: ocsp_lib.c,v 1.21 2018/05/13 10:30:52 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
@@ -99,8 +99,8 @@ OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer)
99} 99}
100 100
101OCSP_CERTID * 101OCSP_CERTID *
102OCSP_cert_id_new(const EVP_MD *dgst, X509_NAME *issuerName, 102OCSP_cert_id_new(const EVP_MD *dgst, const X509_NAME *issuerName,
103 ASN1_BIT_STRING* issuerKey, ASN1_INTEGER *serialNumber) 103 const ASN1_BIT_STRING *issuerKey, const ASN1_INTEGER *serialNumber)
104{ 104{
105 int nid; 105 int nid;
106 unsigned int i; 106 unsigned int i;