Made headers compatible with C++.

This commit is contained in:
Thomas Pornin 2017-04-06 01:03:54 +02:00
parent ee15f235c9
commit 042986b989
10 changed files with 80 additions and 0 deletions

View file

@ -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