diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 12:21:59 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 13:21:04 +0200 |
commit | aa2cc04b9ef04404b719db5d693e6f146dbe026a (patch) | |
tree | 469b7b176428d24e797ae39105705eea45ef1901 /lib/algorithms/kx.c | |
parent | 09f1d96b662d34c55de9903a8a890ad887bcd699 (diff) | |
download | gnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz |
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/algorithms/kx.c')
-rw-r--r-- | lib/algorithms/kx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/algorithms/kx.c b/lib/algorithms/kx.c index 09eab0d8c2..2d5ad81bc5 100644 --- a/lib/algorithms/kx.c +++ b/lib/algorithms/kx.c @@ -76,11 +76,11 @@ static const gnutls_cred_map cred_mappings[] = { }; #define GNUTLS_KX_MAP_LOOP(b) \ - const gnutls_cred_map *p; \ - for(p = cred_mappings; p->algorithm != 0; p++) { b ; } + const gnutls_cred_map *p; \ + for(p = cred_mappings; p->algorithm != 0; p++) { b ; } #define GNUTLS_KX_MAP_ALG_LOOP_SERVER(a) \ - GNUTLS_KX_MAP_LOOP( if(p->server_type == type) { a; break; }) + GNUTLS_KX_MAP_LOOP( if(p->server_type == type) { a; break; }) struct gnutls_kx_algo_entry { const char *name; @@ -134,11 +134,11 @@ static const gnutls_kx_algo_entry _gnutls_kx_algorithms[] = { }; #define GNUTLS_KX_LOOP(b) \ - const gnutls_kx_algo_entry *p; \ - for(p = _gnutls_kx_algorithms; p->name != NULL; p++) { b ; } + const gnutls_kx_algo_entry *p; \ + for(p = _gnutls_kx_algorithms; p->name != NULL; p++) { b ; } #define GNUTLS_KX_ALG_LOOP(a) \ - GNUTLS_KX_LOOP( if(p->algorithm == algorithm) { a; break; } ) + GNUTLS_KX_LOOP( if(p->algorithm == algorithm) { a; break; } ) /* Key EXCHANGE functions */ |