diff options
author | Perberos <[email protected]> | 2011-11-06 19:14:03 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-06 19:14:03 -0300 |
commit | f2a13175e5a3a38d1340d2fff5e03f8c2e0d8f8e (patch) | |
tree | 5bc248a29ae93e5534428e6908a94d50d419ceb9 /src/skey/skey.c | |
parent | def492f92d29f294c62d94ef562dd6271bd9b84b (diff) | |
download | mate-terminal-f2a13175e5a3a38d1340d2fff5e03f8c2e0d8f8e.tar.bz2 mate-terminal-f2a13175e5a3a38d1340d2fff5e03f8c2e0d8f8e.tar.xz |
aplicando formato allman
Diffstat (limited to 'src/skey/skey.c')
-rw-r--r-- | src/skey/skey.c | 8 |
1 files changed, 5 insertions, 3 deletions
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; |