summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-03-13 16:30:31 +0000
committertb <>2022-03-13 16:30:31 +0000
commit0c527fae0adcddaf5e804393d71c0fe901c0b247 (patch)
treec0852a26fb3769fde7f6bbe37ca60f090333a97a
parentc0c1c7351e3cd21b8c8e97b0c253e1228b429ad3 (diff)
downloadopenbsd-0c527fae0adcddaf5e804393d71c0fe901c0b247.tar.gz
openbsd-0c527fae0adcddaf5e804393d71c0fe901c0b247.tar.bz2
openbsd-0c527fae0adcddaf5e804393d71c0fe901c0b247.zip
style tweak
-rw-r--r--src/lib/libcrypto/x509/x509_alt.c4
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);