1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Moved __cplusplus extern statement to include struct definitions as well.

This commit is contained in:
Paul Bakker
2013-06-27 14:29:21 +02:00
parent c5a79cca53
commit 407a0da160
30 changed files with 144 additions and 113 deletions

View File

@ -3,7 +3,7 @@
*
* \brief X.509 certificate and private key decoding
*
* Copyright (C) 2006-2011, Brainspark B.V.
* Copyright (C) 2006-2013, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
@ -140,6 +140,10 @@
#define X509_FORMAT_DER 1
#define X509_FORMAT_PEM 2
#ifdef __cplusplus
extern "C" {
#endif
/**
* \addtogroup x509_module
* \{ */
@ -320,10 +324,6 @@ typedef struct _x509_raw
x509_raw;
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* \name Functions to read in DHM parameters, a certificate, CRL or private RSA key
* \{