aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Friedenbach <mark@friedenbach.org>2016-02-19 17:56:09 -0800
committerMark Friedenbach <mark@friedenbach.org>2016-02-19 17:56:09 -0800
commit7783c685096702aabb92e39032b01b9b870f51c7 (patch)
treec10f1a2df120582e7a3caef69da3f6b0ac02ed83
parentRestructure code style to prevent trailing comma in enumerations, which is not permitted in C89. (diff)
downloadlibsha2-7783c685096702aabb92e39032b01b9b870f51c7.tar.gz
libsha2-7783c685096702aabb92e39032b01b9b870f51c7.tar.bz2
libsha2-7783c685096702aabb92e39032b01b9b870f51c7.tar.xz
Revert "Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89."
This reverts commit a6bf28bbb2a8505fd2079e965d2d7868caefaff6.
-rw-r--r--src/libsha2/state.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libsha2/state.h b/src/libsha2/state.h
index 241d552..c752047 100644
--- a/src/libsha2/state.h
+++ b/src/libsha2/state.h
@@ -33,32 +33,32 @@ typedef enum libsha2_algorithm
/**
* SHA-224, outputs 28 bytes
*/
- LIBSHA2_224 = 1
+ LIBSHA2_224 = 1,
/**
* SHA-256, outputs 32 bytes
*/
- ,LIBSHA2_256 = 2
+ LIBSHA2_256 = 2,
/**
* SHA-384, outputs 48 bytes
*/
- ,LIBSHA2_384 = 3
+ LIBSHA2_384 = 3,
/**
* SHA-512, outputs 64 bytes
*/
- ,LIBSHA2_512 = 4
+ LIBSHA2_512 = 4,
/**
* SHA-512/224, outputs 28 bytes
*/
- ,LIBSHA2_512_224 = 5
+ LIBSHA2_512_224 = 5,
/**
* SHA-512/256, outputs 32 bytes
*/
- ,LIBSHA2_512_256 = 6
+ LIBSHA2_512_256 = 6,
} libsha2_algorithm_t;