X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_rand.h;h=59628fb9b39a79401a1329e254d907c83aeba55d;hp=2cc9ace382116ed194ee16781b4041d93fc260c7;hb=042986b989521f0ae1e2fe3819c72f2fabcb70a6;hpb=e683ebfe1962ef5b00a972761984674528922a4a diff --git a/inc/bearssl_rand.h b/inc/bearssl_rand.h index 2cc9ace..59628fb 100644 --- a/inc/bearssl_rand.h +++ b/inc/bearssl_rand.h @@ -28,6 +28,10 @@ #include #include +#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