aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Friedenbach <mark@friedenbach.org>2016-02-08 16:44:41 -0800
committerMark Friedenbach <mark@friedenbach.org>2016-02-08 16:44:41 -0800
commita6bf28bbb2a8505fd2079e965d2d7868caefaff6 (patch)
treefaff6e58b17eb482f5cbee9d815567f882100c6e
parentimprove readme (diff)
downloadlibsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.gz
libsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.bz2
libsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.xz
Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89.
Diffstat (limited to '')
-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 c752047..241d552 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;