From f2a13175e5a3a38d1340d2fff5e03f8c2e0d8f8e Mon Sep 17 00:00:00 2001 From: Perberos Date: Sun, 6 Nov 2011 19:14:03 -0300 Subject: aplicando formato allman --- src/skey/skey.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/skey/skey.c') diff --git a/src/skey/skey.c b/src/skey/skey.c index 2517842..fde2d15 100644 --- a/src/skey/skey.c +++ b/src/skey/skey.c @@ -11,11 +11,13 @@ #include "skey.h" #include "btoe.h" -struct skey_hash { +struct skey_hash +{ int (*Keycrunch) (char *, const char *, const char *); void (*Skey) (char *); }; -static struct skey_hash hash_table[] = { +static struct skey_hash hash_table[] = +{ { MD4Keycrunch, MD4SKey }, { MD5Keycrunch, MD5SKey }, { SHA1Keycrunch, SHA1SKey } @@ -26,7 +28,7 @@ char *skey(SKeyAlgorithm algorithm, int seq, const char *seed, const char *passp { char key[SKEY_SIZE]; int i; - g_assert (algorithm < G_N_ELEMENTS (hash_table)); + g_assert (algorithm < G_N_ELEMENTS (hash_table)); if (hash_table[algorithm].Keycrunch(key, seed, passphrase) == -1) return NULL; -- cgit v1.2.1