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_prf.h
|
||||
*
|
||||
* # The TLS PRF
|
||||
|
|
@ -115,4 +119,8 @@ typedef void (*br_tls_prf_impl)(void *dst, size_t len,
|
|||
const void *secret, size_t secret_len,
|
||||
const char *label, const void *seed, size_t seed_len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue