summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_prn.c
diff options
context:
space:
mode:
authortb <>2018-05-19 10:41:53 +0000
committertb <>2018-05-19 10:41:53 +0000
commit0a5fa0185a9762195b939da5ca2d02ec60c01f7d (patch)
treecdb017ea743db350d207f2cea95f61b68776273f /src/lib/libcrypto/x509v3/v3_prn.c
parent1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e (diff)
downloadopenbsd-0a5fa0185a9762195b939da5ca2d02ec60c01f7d.tar.gz
openbsd-0a5fa0185a9762195b939da5ca2d02ec60c01f7d.tar.bz2
openbsd-0a5fa0185a9762195b939da5ca2d02ec60c01f7d.zip
Add a const qualifier to the STACK_OF(X509_EXTENSION) * arguments of
X509V3_get_d2i() and X509V3_extensions_print(), and one to the 'title' argument of the latter function. tested in a bulk build by sthen ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_prn.c')
-rw-r--r--src/lib/libcrypto/x509v3/v3_prn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_prn.c b/src/lib/libcrypto/x509v3/v3_prn.c
index f65c7aaa8a..f294c36b3e 100644
--- a/src/lib/libcrypto/x509v3/v3_prn.c
+++ b/src/lib/libcrypto/x509v3/v3_prn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: v3_prn.c,v 1.19 2016/12/30 15:54:49 jsing Exp $ */ 1/* $OpenBSD: v3_prn.c,v 1.20 2018/05/19 10:41:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -152,8 +152,8 @@ err:
152} 152}
153 153
154int 154int
155X509V3_extensions_print(BIO *bp, char *title, STACK_OF(X509_EXTENSION) *exts, 155X509V3_extensions_print(BIO *bp, const char *title,
156 unsigned long flag, int indent) 156 const STACK_OF(X509_EXTENSION) *exts, unsigned long flag, int indent)
157{ 157{
158 int i, j; 158 int i, j;
159 159