summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2022-04-21 05:06:07 +0000
committertb <>2022-04-21 05:06:07 +0000
commit19ea024653f9c697178192399b7448cba83bf56f (patch)
treefa6c4e9eaf983173def2794295b280e574089aaa /src/lib
parent10d8ec22a81b906974b9ddc26f92c35523c5284c (diff)
downloadopenbsd-19ea024653f9c697178192399b7448cba83bf56f.tar.gz
openbsd-19ea024653f9c697178192399b7448cba83bf56f.tar.bz2
openbsd-19ea024653f9c697178192399b7448cba83bf56f.zip
Clarify comments at the start of {asid,addr}_validate_path_internal()
Requested by jsing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_addr.c6
-rw-r--r--src/lib/libcrypto/x509/x509_asid.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c
index d33d4f2f8e..b1ff93d4d0 100644
--- a/src/lib/libcrypto/x509/x509_addr.c
+++ b/src/lib/libcrypto/x509/x509_addr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_addr.c,v 1.79 2022/04/21 04:48:12 tb Exp $ */ 1/* $OpenBSD: x509_addr.c,v 1.80 2022/04/21 05:06:07 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").
@@ -1774,8 +1774,8 @@ addr_validate_path_internal(X509_STORE_CTX *ctx, STACK_OF(X509) *chain,
1774 1774
1775 /* 1775 /*
1776 * Figure out where to start. If we don't have an extension to check, 1776 * Figure out where to start. If we don't have an extension to check,
1777 * we're done. Otherwise, check canonical form and set up for walking 1777 * (either extracted from the leaf or passed by the caller), we're done.
1778 * up the chain. 1778 * Otherwise, check canonical form and set up for walking up the chain.
1779 */ 1779 */
1780 if (ext == NULL) { 1780 if (ext == NULL) {
1781 depth = 0; 1781 depth = 0;
diff --git a/src/lib/libcrypto/x509/x509_asid.c b/src/lib/libcrypto/x509/x509_asid.c
index 5f43b3030d..514b88bc0e 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.31 2022/04/21 04:48:12 tb Exp $ */ 1/* $OpenBSD: x509_asid.c,v 1.32 2022/04/21 05:06:07 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").
@@ -999,9 +999,9 @@ asid_validate_path_internal(X509_STORE_CTX *ctx, STACK_OF(X509) *chain,
999 goto err; 999 goto err;
1000 1000
1001 /* 1001 /*
1002 * Figure out where to start. If we don't have an extension to 1002 * Figure out where to start. If we don't have an extension to check,
1003 * check, we're done. Otherwise, check canonical form and 1003 * (either extracted from the leaf or passed by the caller), we're done.
1004 * set up for walking up the chain. 1004 * Otherwise, check canonical form and set up for walking up the chain.
1005 */ 1005 */
1006 if (ext != NULL) { 1006 if (ext != NULL) {
1007 i = -1; 1007 i = -1;