diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-12-16 17:30:42 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-12-16 17:30:42 +0100 |
commit | 6eb6bbfe8e504a611145f454f4045e8f49fd5e44 (patch) | |
tree | baba850cc86ee2d9d61de89da1cdfe408ad8694a /tests/simple.c | |
parent | bdcfdac13179eccee6294402f2654fece149f82b (diff) | |
download | gnutls-6eb6bbfe8e504a611145f454f4045e8f49fd5e44.tar.gz |
Indented code. Use same indentation but with -nut to avoid usage of tabs. In several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.
Diffstat (limited to 'tests/simple.c')
-rw-r--r-- | tests/simple.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/simple.c b/tests/simple.c index 4124876b14..532d56d019 100644 --- a/tests/simple.c +++ b/tests/simple.c @@ -52,13 +52,13 @@ doit (void) for (i = 0; algs[i]; i++) { - if (debug) - printf ("pk_list[%d] = %d = %s = %d\n", (int) i, algs[i], - gnutls_pk_algorithm_get_name (algs[i]), - gnutls_pk_get_id (gnutls_pk_algorithm_get_name (algs[i]))); - if (gnutls_pk_get_id (gnutls_pk_algorithm_get_name (algs[i])) - != algs[i]) - fail ("gnutls_pk id's doesn't match\n"); + if (debug) + printf ("pk_list[%d] = %d = %s = %d\n", (int) i, algs[i], + gnutls_pk_algorithm_get_name (algs[i]), + gnutls_pk_get_id (gnutls_pk_algorithm_get_name (algs[i]))); + if (gnutls_pk_get_id (gnutls_pk_algorithm_get_name (algs[i])) + != algs[i]) + fail ("gnutls_pk id's doesn't match\n"); } pk = gnutls_pk_get_id ("foo"); @@ -80,14 +80,14 @@ doit (void) for (i = 0; algs[i]; i++) { - if (debug) - printf ("sign_list[%d] = %d = %s = %d\n", (int) i, algs[i], - gnutls_sign_algorithm_get_name (algs[i]), - gnutls_sign_get_id (gnutls_sign_algorithm_get_name - (algs[i]))); - if (gnutls_sign_get_id (gnutls_sign_algorithm_get_name (algs[i])) != - algs[i]) - fail ("gnutls_sign id's doesn't match\n"); + if (debug) + printf ("sign_list[%d] = %d = %s = %d\n", (int) i, algs[i], + gnutls_sign_algorithm_get_name (algs[i]), + gnutls_sign_get_id (gnutls_sign_algorithm_get_name + (algs[i]))); + if (gnutls_sign_get_id (gnutls_sign_algorithm_get_name (algs[i])) != + algs[i]) + fail ("gnutls_sign id's doesn't match\n"); } pk = gnutls_sign_get_id ("foo"); |