From a17677c9466c38941dffdeb39e1527ff32dda523 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Wed, 29 May 2024 21:29:55 -0700 Subject: [PATCH] Remove trailing whitespace --- wolfcrypt/src/asn.c | 8 ++++---- wolfssl/wolfcrypt/asn.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 174f62e04..743b4d4ba 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -20094,8 +20094,8 @@ static int DecodeSubtreeGeneralName(const byte* input, word32 sz, byte tag, * @param [in] input Buffer holding data. * @param [in] sz Size of data in buffer. * @param [in, out] head Linked list of subtree names. - * @param [in] limit If > 0, limit on number of tree - * entries to process, exceeding + * @param [in] limit If > 0, limit on number of tree + * entries to process, exceeding * is an error. * @param [in] heap Dynamic memory hint. * @return 0 on success. @@ -20324,7 +20324,7 @@ static int DecodeNameConstraints(const byte* input, word32 sz, ret = DecodeSubtree( dataASN[NAMECONSTRAINTSASN_IDX_PERMIT].data.ref.data, dataASN[NAMECONSTRAINTSASN_IDX_PERMIT].data.ref.length, - &cert->permittedNames, WOLFSSL_MAX_NAME_CONSTRAINTS, + &cert->permittedNames, WOLFSSL_MAX_NAME_CONSTRAINTS, cert->heap); } } @@ -20334,7 +20334,7 @@ static int DecodeNameConstraints(const byte* input, word32 sz, ret = DecodeSubtree( dataASN[NAMECONSTRAINTSASN_IDX_EXCLUDE].data.ref.data, dataASN[NAMECONSTRAINTSASN_IDX_EXCLUDE].data.ref.length, - &cert->excludedNames, WOLFSSL_MAX_NAME_CONSTRAINTS, + &cert->excludedNames, WOLFSSL_MAX_NAME_CONSTRAINTS, cert->heap); } } diff --git a/wolfssl/wolfcrypt/asn.h b/wolfssl/wolfcrypt/asn.h index 192d403d3..6a32bf8cd 100644 --- a/wolfssl/wolfcrypt/asn.h +++ b/wolfssl/wolfcrypt/asn.h @@ -781,7 +781,7 @@ extern const WOLFSSL_ObjectInfo wolfssl_object_info[]; #endif /* Maximum number of allowed subject alternative names in a certificate. - * Any certificate containing more than this number of subject + * Any certificate containing more than this number of subject * alternative names will cause an error when attempting to parse. */ #ifndef WOLFSSL_MAX_ALT_NAMES #define WOLFSSL_MAX_ALT_NAMES 128