artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f50f30
)
Small readability tweak suggested by jsing
author
tb
<tb@openbsd.org>
Thu, 12 May 2022 20:00:06 +0000
(20:00 +0000)
committer
tb
<tb@openbsd.org>
Thu, 12 May 2022 20:00:06 +0000
(20:00 +0000)
lib/libcrypto/x509/x509_asid.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/x509/x509_asid.c
b/lib/libcrypto/x509/x509_asid.c
index
5967e26
..
37c38d9
100644
(file)
--- a/
lib/libcrypto/x509/x509_asid.c
+++ b/
lib/libcrypto/x509/x509_asid.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: x509_asid.c,v 1.3
3 2022/05/12 19:56:43
tb Exp $ */
+/* $OpenBSD: x509_asid.c,v 1.3
4 2022/05/12 20:00:06
tb Exp $ */
/*
* Contributed to the OpenSSL Project by the American Registry for
* Internet Numbers ("ARIN").
@@
-918,6
+918,7
@@
asid_contains(ASIdOrRanges *parent, ASIdOrRanges *child)
if (child == NULL || parent == child)
return 1;
+
if (parent == NULL)
return 0;
@@
-951,6
+952,7
@@
X509v3_asid_subset(ASIdentifiers *child, ASIdentifiers *parent)
{
if (child == NULL || child == parent)
return 1;
+
if (parent == NULL)
return 0;