Made headers compatible with C++.
This commit is contained in:
parent
ee15f235c9
commit
042986b989
10 changed files with 80 additions and 0 deletions
|
|
@ -30,6 +30,10 @@
|
|||
|
||||
#include "bearssl_hash.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** \file bearssl_hmac.h
|
||||
*
|
||||
* # HMAC
|
||||
|
|
@ -200,4 +204,8 @@ size_t br_hmac_outCT(const br_hmac_context *ctx,
|
|||
const void *data, size_t len, size_t min_len, size_t max_len,
|
||||
void *out);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue