summaryrefslogtreecommitdiff
path: root/include/xmlsec/gnutls/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/gnutls/x509.h')
-rw-r--r--include/xmlsec/gnutls/x509.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/xmlsec/gnutls/x509.h b/include/xmlsec/gnutls/x509.h
index e00bf751..d90d28d4 100644
--- a/include/xmlsec/gnutls/x509.h
+++ b/include/xmlsec/gnutls/x509.h
@@ -1,5 +1,5 @@
-/**
- * XMLSec library
+/*
+ * XML Security Library (http://www.aleksey.com/xmlsec).
*
* This is free software; see Copyright file in the source
* distribution for preciese wording.
@@ -9,10 +9,6 @@
#ifndef __XMLSEC_GNUTLS_X509_H__
#define __XMLSEC_GNUTLS_X509_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#ifndef XMLSEC_NO_X509
#include <gnutls/gnutls.h>
@@ -22,6 +18,9 @@ extern "C" {
#include <xmlsec/keys.h>
#include <xmlsec/transforms.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
/**************************************************************************
*
@@ -101,10 +100,10 @@ XMLSEC_CRYPTO_EXPORT int xmlSecGnuTLSX509StoreAdoptCert (xmlSecK
-#endif /* XMLSEC_NO_X509 */
-
#ifdef __cplusplus
}
#endif /* __cplusplus */
+#endif /* XMLSEC_NO_X509 */
+
#endif /* __XMLSEC_GNUTLS_X509_H__ */