diff options
-rw-r--r-- | src/lib/libcrypto/x509/x509_alt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_alt.c b/src/lib/libcrypto/x509/x509_alt.c index 4de6a09101..addf300a2a 100644 --- a/src/lib/libcrypto/x509/x509_alt.c +++ b/src/lib/libcrypto/x509/x509_alt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_alt.c,v 1.8 2022/02/11 17:41:55 tb Exp $ */ | 1 | /* $OpenBSD: x509_alt.c,v 1.9 2022/03/13 16:30:31 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. | 3 | * project. |
4 | */ | 4 | */ |
@@ -654,7 +654,7 @@ v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, | |||
654 | 654 | ||
655 | /* Validate what we have for sanity */ | 655 | /* Validate what we have for sanity */ |
656 | type = x509_constraints_general_to_bytes(ret, &bytes, &len); | 656 | type = x509_constraints_general_to_bytes(ret, &bytes, &len); |
657 | switch(type) { | 657 | switch (type) { |
658 | case GEN_DNS: | 658 | case GEN_DNS: |
659 | if (!x509_constraints_valid_sandns(bytes, len)) { | 659 | if (!x509_constraints_valid_sandns(bytes, len)) { |
660 | X509V3error(X509V3_R_BAD_OBJECT); | 660 | X509V3error(X509V3_R_BAD_OBJECT); |