summaryrefslogtreecommitdiffstats
path: root/src/uscxml/util/SHA1.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-24 13:03:20 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-24 13:03:20 (GMT)
commit758bda908ded461c9d34d274a18454ffba4b7450 (patch)
treefb7f1ba28eab9f20b4ca16ed4dbc36d07dfce06e /src/uscxml/util/SHA1.h
parentfebde41c4c69d8f38967d5c195328d468834d037 (diff)
downloaduscxml-758bda908ded461c9d34d274a18454ffba4b7450.zip
uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.gz
uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.bz2
- Prolog DM compiles with recent SWI release again
- Bugfixes for stress test - Beautified code
Diffstat (limited to 'src/uscxml/util/SHA1.h')
-rw-r--r--src/uscxml/util/SHA1.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/uscxml/util/SHA1.h b/src/uscxml/util/SHA1.h
index f9baa5b..1bbfaf5 100644
--- a/src/uscxml/util/SHA1.h
+++ b/src/uscxml/util/SHA1.h
@@ -55,31 +55,31 @@
extern "C" {
#endif
- /*
- * This structure will hold context information for the hashing
- * operation
- */
- typedef struct SHA1Context {
- unsigned Message_Digest[5]; /* Message Digest (output) */
+/*
+ * This structure will hold context information for the hashing
+ * operation
+ */
+typedef struct SHA1Context {
+ unsigned Message_Digest[5]; /* Message Digest (output) */
- unsigned Length_Low; /* Message length in bits */
- unsigned Length_High; /* Message length in bits */
+ unsigned Length_Low; /* Message length in bits */
+ unsigned Length_High; /* Message length in bits */
- unsigned char Message_Block[64]; /* 512-bit message blocks */
- int Message_Block_Index; /* Index into message block array */
+ unsigned char Message_Block[64]; /* 512-bit message blocks */
+ int Message_Block_Index; /* Index into message block array */
- int Computed; /* Is the digest computed? */
- int Corrupted; /* Is the message digest corruped? */
- } SHA1Context;
+ int Computed; /* Is the digest computed? */
+ int Corrupted; /* Is the message digest corruped? */
+} SHA1Context;
- /*
- * Function Prototypes
- */
- USCXML_API void SHA1Reset(SHA1Context *);
- USCXML_API int SHA1Result(SHA1Context *);
- USCXML_API void SHA1Input(SHA1Context *,
- const unsigned char *,
- unsigned);
+/*
+ * Function Prototypes
+ */
+USCXML_API void SHA1Reset(SHA1Context *);
+USCXML_API int SHA1Result(SHA1Context *);
+USCXML_API void SHA1Input(SHA1Context *,
+ const unsigned char *,
+ unsigned);
#ifdef __cplusplus
}