diff options
| author | tb <> | 2018-05-19 10:41:53 +0000 | 
|---|---|---|
| committer | tb <> | 2018-05-19 10:41:53 +0000 | 
| commit | 95f086da4b90ddd2f5819b788f4ede851c704f19 (patch) | |
| tree | cdb017ea743db350d207f2cea95f61b68776273f /src/lib/libcrypto/x509v3/v3_lib.c | |
| parent | ebcd9413cf5a196f715422cc604ef2765ab8ecc2 (diff) | |
| download | openbsd-95f086da4b90ddd2f5819b788f4ede851c704f19.tar.gz openbsd-95f086da4b90ddd2f5819b788f4ede851c704f19.tar.bz2 openbsd-95f086da4b90ddd2f5819b788f4ede851c704f19.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; | 
