summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_conf.c')
-rw-r--r--src/lib/libcrypto/x509/x509_conf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c
index 19f771c466..2089f72bc7 100644
--- a/src/lib/libcrypto/x509/x509_conf.c
+++ b/src/lib/libcrypto/x509/x509_conf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_conf.c,v 1.30 2025/05/10 05:54:39 tb Exp $ */ 1/* $OpenBSD: x509_conf.c,v 1.31 2025/06/02 12:18:21 jsg 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 */
@@ -242,8 +242,9 @@ v3_check_critical(const char **value)
242 if ((strlen(p) < 9) || strncmp(p, "critical,", 9)) 242 if ((strlen(p) < 9) || strncmp(p, "critical,", 9))
243 return 0; 243 return 0;
244 p += 9; 244 p += 9;
245 while (isspace((unsigned char)*p)) p++; 245 while (isspace((unsigned char)*p))
246 *value = p; 246 p++;
247 *value = p;
247 return 1; 248 return 1;
248} 249}
249 250