From e5abdea77ef4db767d8accc898da893e0c60d778 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 13 Oct 2023 21:55:01 +0000 Subject: [PATCH] Uncrustify: triggered by comment. --- source/include/sigv4.h | 12 ++++++------ source/sigv4.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/include/sigv4.h b/source/include/sigv4.h index 1a90de78..2d15ece8 100644 --- a/source/include/sigv4.h +++ b/source/include/sigv4.h @@ -589,12 +589,12 @@ SigV4Status_t SigV4_AwsIotDateToIso8601( const char * pDate, * @param[in] doubleEncodeEquals Option to indicate if equals should be double-encoded. */ /* @[declare_sigV4_EncodeURI_function] */ -SigV4Status_t SigV4_EncodeURI( const char * pUri, - size_t uriLen, - char * pCanonicalURI, - size_t * canonicalURILen, - bool encodeSlash, - bool doubleEncodeEquals ); + SigV4Status_t SigV4_EncodeURI( const char * pUri, + size_t uriLen, + char * pCanonicalURI, + size_t * canonicalURILen, + bool encodeSlash, + bool doubleEncodeEquals ); /* @[declare_sigV4_encodeURI_function] */ #endif /* #if (SIGV4_USE_CANONICAL_SUPPORT == 1) */ diff --git a/source/sigv4.c b/source/sigv4.c index 5f5ba607..8b6b85f8 100644 --- a/source/sigv4.c +++ b/source/sigv4.c @@ -3074,7 +3074,7 @@ static SigV4Status_t writePayloadHashToCanonicalRequest( const SigV4Parameters_t else if( FLAG_IS_SET( pParams->pHttpParameters->flags, SIGV4_HTTP_PAYLOAD_IS_UNSIGNED ) ) { /* Copy the UNSIGNED-PAYLOAD data in the headers data list. */ - returnStatus = copyHeaderStringToCanonicalBuffer( "UNSIGNED-PAYLOAD", strlen("UNSIGNED-PAYLOAD"), pParams->pHttpParameters->flags, '\n', pCanonicalContext ); + returnStatus = copyHeaderStringToCanonicalBuffer( "UNSIGNED-PAYLOAD", strlen( "UNSIGNED-PAYLOAD" ), pParams->pHttpParameters->flags, '\n', pCanonicalContext ); /* Remove new line at the end of the payload. */ pCanonicalContext->pBufCur--; }