summaryrefslogtreecommitdiff
path: root/include/xmlsec/xmlenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/xmlenc.h')
-rw-r--r--include/xmlsec/xmlenc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/xmlsec/xmlenc.h b/include/xmlsec/xmlenc.h
index 0253e3ed..b09c8df8 100644
--- a/include/xmlsec/xmlenc.h
+++ b/include/xmlsec/xmlenc.h
@@ -1,4 +1,4 @@
-/**
+/*
* XML Security Library (http://www.aleksey.com/xmlsec).
*
* "XML Encryption" implementation
@@ -14,9 +14,6 @@
#ifndef XMLSEC_NO_XMLENC
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
#include <stdio.h>
#include <libxml/tree.h>
@@ -29,6 +26,10 @@ extern "C" {
#include <xmlsec/keyinfo.h>
#include <xmlsec/transforms.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/**
* xmlEncCtxMode:
* @xmlEncCtxModeEncryptedData: the <enc:EncryptedData/> element procesing.
@@ -87,7 +88,7 @@ typedef enum {
* @cipherValueNode: the pointer to <enc:CipherValue/> node.
* @reserved1: reserved for the future.
*
- * XML Encrypiton context.
+ * XML Encryption context.
*/
struct _xmlSecEncCtx {
/* these data user can set before performing the operation */