Made headers compatible with C++.
This commit is contained in:
parent
ee15f235c9
commit
042986b989
10 changed files with 80 additions and 0 deletions
|
|
@ -28,6 +28,10 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** \file bearssl_rand.h
|
||||
*
|
||||
* # Pseudo-Random Generators
|
||||
|
|
@ -249,4 +253,8 @@ br_hmac_drbg_get_hash(const br_hmac_drbg_context *ctx)
|
|||
return ctx->digest_class;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue