diff options
author | tb <> | 2022-05-12 20:00:06 +0000 |
---|---|---|
committer | tb <> | 2022-05-12 20:00:06 +0000 |
commit | 3f905b4d065af2673dad6508cc74908e6b71d4c5 (patch) | |
tree | 1049a56487221554544286b47af10b09335c4753 /src | |
parent | b5f7ec553cb64b51be9cbe581bc3dce38c9f2ebf (diff) | |
download | openbsd-3f905b4d065af2673dad6508cc74908e6b71d4c5.tar.gz openbsd-3f905b4d065af2673dad6508cc74908e6b71d4c5.tar.bz2 openbsd-3f905b4d065af2673dad6508cc74908e6b71d4c5.zip |
Small readability tweak suggested by jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_asid.c | 4 |
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 | ||