Skip to content

Commit

Permalink
Add header guards to mbedtls_utils.h (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
archigup authored Aug 13, 2021
1 parent 8ea5d0d commit 2533c83
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions source/dependency/3rdparty/mbedtls_utils/mbedtls_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@
* @brief Helper functions originating from mbedTLS.
*/

#ifndef _MBEDTLS_UTILS_H_
#define _MBEDTLS_UTILS_H_

/* Standard includes. */
#include <string.h>

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */

/*-----------------------------------------------------------*/

/**
Expand Down Expand Up @@ -71,3 +80,11 @@ int convert_pem_to_der( const unsigned char * pucInput,
int PKI_RSA_RSASSA_PKCS1_v15_Encode( const unsigned char * hash,
size_t dst_len,
unsigned char * dst );

/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */

#endif /* ifndef _MBEDTLS_UTILS_H_ */

0 comments on commit 2533c83

Please sign in to comment.