summaryrefslogtreecommitdiff
path: root/test-gensalt.c
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2017-10-23 10:36:38 +0200
committerBjörn Esser <besser82@fedoraproject.org>2017-10-23 10:39:53 +0200
commit55216e31ab2e2355b87beea2cb9f0ed93cdc28cd (patch)
tree809ea769d7d57ad510f6dd3ba1dd662233d43843 /test-gensalt.c
parenta0be271d98551c77a1465cfec088fe645ebecec9 (diff)
downloadlibxcrypt-55216e31ab2e2355b87beea2cb9f0ed93cdc28cd.tar.gz
libxcrypt-55216e31ab2e2355b87beea2cb9f0ed93cdc28cd.tar.bz2
libxcrypt-55216e31ab2e2355b87beea2cb9f0ed93cdc28cd.zip
Reformat all code files to match GNU style
Diffstat (limited to 'test-gensalt.c')
-rw-r--r--test-gensalt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test-gensalt.c b/test-gensalt.c
index 6a9d4ed..9610d2c 100644
--- a/test-gensalt.c
+++ b/test-gensalt.c
@@ -6,7 +6,8 @@
#include <stdlib.h>
#include <string.h>
-static const char *const entropy[] = {
+static const char *const entropy[] =
+{
"\x58\x35\xcd\x26\x03\xab\x2c\x14\x92\x13\x1e\x59\xb0\xbc\xfe\xd5",
"\x9b\x35\xa2\x45\xeb\x68\x9e\x8f\xd9\xa9\x09\x71\xcc\x4d\x21\x44",
"\x25\x13\xc5\x94\xc3\x93\x1d\xf4\xfd\xd4\x4f\xbd\x10\xe5\x28\x08",
@@ -20,7 +21,8 @@ struct testcase
unsigned int expected_len;
};
-static const struct testcase testcases[] = {
+static const struct testcase testcases[] =
+{
#if ENABLE_WEAK_HASHES
{ "", 2 }, // DES
{ "_", 9 }, // BSDi extended DES