summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_lib.c')
-rw-r--r--src/lib/libcrypto/x509v3/v3_lib.c4
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
229void * 229void *
230X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) 230X509V3_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;