Skip to content

Commit

Permalink
Uncrustify: triggered by comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 13, 2023
1 parent 49dde4e commit e5abdea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions source/include/sigv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
2 changes: 1 addition & 1 deletion source/sigv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
}
Expand Down

0 comments on commit e5abdea

Please sign in to comment.