diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_conf.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_conf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c index e5b18c2f77..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.29 2025/03/06 07:20:01 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 | */ |
@@ -62,11 +62,11 @@ | |||
62 | #include <string.h> | 62 | #include <string.h> |
63 | 63 | ||
64 | #include <openssl/conf.h> | 64 | #include <openssl/conf.h> |
65 | #include <openssl/err.h> | ||
66 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
68 | 67 | ||
69 | #include "conf_local.h" | 68 | #include "conf_local.h" |
69 | #include "err_local.h" | ||
70 | #include "x509_local.h" | 70 | #include "x509_local.h" |
71 | 71 | ||
72 | static int v3_check_critical(const char **value); | 72 | static int v3_check_critical(const char **value); |
@@ -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 | ||