X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_ssl.h;h=21d162b71e1126013d72b54504b2a6b423358d10;hp=fee7b3c496086b96b5435674c130af2e740b1b88;hb=ad6a51bde35d008521e3c667f64c43630351abec;hpb=5f045c759957fdff8c85716e6af99e10901fdac0 diff --git a/inc/bearssl_ssl.h b/inc/bearssl_ssl.h index fee7b3c..21d162b 100644 --- a/inc/bearssl_ssl.h +++ b/inc/bearssl_ssl.h @@ -35,6 +35,10 @@ #include "bearssl_rand.h" #include "bearssl_x509.h" +#ifdef __cplusplus +extern "C" { +#endif + /** \file bearssl_ssl.h * * # SSL @@ -4065,4 +4069,8 @@ int br_sslio_close(br_sslio_context *cc); #define BR_ALERT_UNSUPPORTED_EXTENSION 110 #define BR_ALERT_NO_APPLICATION_PROTOCOL 120 +#ifdef __cplusplus +} +#endif + #endif