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

@ -32,6 +32,10 @@
#include "bearssl_hash.h"
#include "bearssl_rsa.h"
#ifdef __cplusplus
extern "C" {
#endif
/** \file bearssl_x509.h
*
* # X.509 Certificate Chain Processing
@ -1245,4 +1249,8 @@ br_skey_decoder_get_ec(const br_skey_decoder_context *ctx)
}
}
#ifdef __cplusplus
}
#endif
#endif