summaryrefslogtreecommitdiff
path: root/include/xmlsec/openssl/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/openssl/x509.h')
-rw-r--r--include/xmlsec/openssl/x509.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/xmlsec/openssl/x509.h b/include/xmlsec/openssl/x509.h
index 0163c231..0d9f8c80 100644
--- a/include/xmlsec/openssl/x509.h
+++ b/include/xmlsec/openssl/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_OPENSSL_X509_H__
#define __XMLSEC_OPENSSL_X509_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#ifndef XMLSEC_NO_X509
#include <openssl/x509.h>
@@ -21,6 +17,10 @@ extern "C" {
#include <xmlsec/keys.h>
#include <xmlsec/transforms.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/**
* XMLSEC_STACK_OF_X509:
*
@@ -98,12 +98,12 @@ XMLSEC_CRYPTO_EXPORT int xmlSecOpenSSLX509StoreAdoptCrl (xmlSecK
XMLSEC_CRYPTO_EXPORT int xmlSecOpenSSLX509StoreAddCertsPath(xmlSecKeyDataStorePtr store,
const char* path);
XMLSEC_CRYPTO_EXPORT int xmlSecOpenSSLX509StoreAddCertsFile(xmlSecKeyDataStorePtr store,
- const char* file);
-
-#endif /* XMLSEC_NO_X509 */
+ const char* filename);
#ifdef __cplusplus
}
#endif /* __cplusplus */
+#endif /* XMLSEC_NO_X509 */
+
#endif /* __XMLSEC_OPENSSL_X509_H__ */