summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_v3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c
index 772f9ad596..cc94292aa3 100644
--- a/src/lib/libcrypto/x509/x509_v3.c
+++ b/src/lib/libcrypto/x509/x509_v3.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_v3.c,v 1.28 2024/05/23 01:56:14 tb Exp $ */ 1/* $OpenBSD: x509_v3.c,v 1.29 2024/05/23 01:57:32 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -140,8 +140,8 @@ X509v3_get_ext(const STACK_OF(X509_EXTENSION) *sk, int loc)
140{ 140{
141 if (sk == NULL || sk_X509_EXTENSION_num(sk) <= loc || loc < 0) 141 if (sk == NULL || sk_X509_EXTENSION_num(sk) <= loc || loc < 0)
142 return NULL; 142 return NULL;
143 else 143
144 return sk_X509_EXTENSION_value(sk, loc); 144 return sk_X509_EXTENSION_value(sk, loc);
145} 145}
146LCRYPTO_ALIAS(X509v3_get_ext); 146LCRYPTO_ALIAS(X509v3_get_ext);
147 147