X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_x509.h;h=10e35108e6d339aa009be014fe418cb405f77ebf;hp=2463c79d8500104d0017e1f7a4a0fcb0a9c47c6e;hb=05520e8eae3d8c6039e8bcde58741cf4ffb18f1d;hpb=f9b85fee907b65a9929263ba060476dd7ec79c8d diff --git a/inc/bearssl_x509.h b/inc/bearssl_x509.h index 2463c79..10e3510 100644 --- a/inc/bearssl_x509.h +++ b/inc/bearssl_x509.h @@ -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 @@ -356,7 +360,7 @@ typedef struct { * - `end_chain()` is called when the last certificate in the chain * was processed. * - `get_pkey()` is called after chain processing, if the chain - * validation was succesfull. + * validation was successful. * * A context structure may be reused; the `start_chain()` method shall * ensure (re)initialisation. @@ -1245,4 +1249,8 @@ br_skey_decoder_get_ec(const br_skey_decoder_context *ctx) } } +#ifdef __cplusplus +} +#endif + #endif