diff options
author | tb <> | 2018-05-19 10:41:53 +0000 |
---|---|---|
committer | tb <> | 2018-05-19 10:41:53 +0000 |
commit | 0a5fa0185a9762195b939da5ca2d02ec60c01f7d (patch) | |
tree | cdb017ea743db350d207f2cea95f61b68776273f /src/lib/libcrypto/x509v3/v3_lib.c | |
parent | 1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e (diff) | |
download | openbsd-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_lib.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_lib.c b/src/lib/libcrypto/x509v3/v3_lib.c index f0cc93bda6..94f3e4b753 100644 --- a/src/lib/libcrypto/x509v3/v3_lib.c +++ b/src/lib/libcrypto/x509v3/v3_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_lib.c,v 1.17 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: v3_lib.c,v 1.18 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 | */ |
@@ -227,7 +227,7 @@ X509V3_EXT_d2i(X509_EXTENSION *ext) | |||
227 | */ | 227 | */ |
228 | 228 | ||
229 | void * | 229 | void * |
230 | X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) | 230 | X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) |
231 | { | 231 | { |
232 | int lastpos, i; | 232 | int lastpos, i; |
233 | X509_EXTENSION *ex, *found_ex = NULL; | 233 | X509_EXTENSION *ex, *found_ex = NULL; |