summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-05-12 20:00:06 +0000
committertb <>2022-05-12 20:00:06 +0000
commit36826aba263c84f9ceb3b6777e150eaf1f82e6d1 (patch)
tree1049a56487221554544286b47af10b09335c4753
parentce5ffdb84ae24939f1596018cbb79cb7d2226a97 (diff)
downloadopenbsd-36826aba263c84f9ceb3b6777e150eaf1f82e6d1.tar.gz
openbsd-36826aba263c84f9ceb3b6777e150eaf1f82e6d1.tar.bz2
openbsd-36826aba263c84f9ceb3b6777e150eaf1f82e6d1.zip
Small readability tweak suggested by jsing
-rw-r--r--src/lib/libcrypto/x509/x509_asid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_asid.c b/src/lib/libcrypto/x509/x509_asid.c
index 5967e26d4d..37c38d9b68 100644
--- a/src/lib/libcrypto/x509/x509_asid.c
+++ b/src/lib/libcrypto/x509/x509_asid.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_asid.c,v 1.33 2022/05/12 19:56:43 tb Exp $ */ 1/* $OpenBSD: x509_asid.c,v 1.34 2022/05/12 20:00:06 tb Exp $ */
2/* 2/*
3 * Contributed to the OpenSSL Project by the American Registry for 3 * Contributed to the OpenSSL Project by the American Registry for
4 * Internet Numbers ("ARIN"). 4 * Internet Numbers ("ARIN").
@@ -918,6 +918,7 @@ asid_contains(ASIdOrRanges *parent, ASIdOrRanges *child)
918 918
919 if (child == NULL || parent == child) 919 if (child == NULL || parent == child)
920 return 1; 920 return 1;
921
921 if (parent == NULL) 922 if (parent == NULL)
922 return 0; 923 return 0;
923 924
@@ -951,6 +952,7 @@ X509v3_asid_subset(ASIdentifiers *child, ASIdentifiers *parent)
951{ 952{
952 if (child == NULL || child == parent) 953 if (child == NULL || child == parent)
953 return 1; 954 return 1;
955
954 if (parent == NULL) 956 if (parent == NULL)
955 return 0; 957 return 0;
956 958