diff options
Diffstat (limited to 'lib/algorithms/publickey.c')
-rw-r--r-- | lib/algorithms/publickey.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/algorithms/publickey.c b/lib/algorithms/publickey.c index c70187736f..b7b1169fbb 100644 --- a/lib/algorithms/publickey.c +++ b/lib/algorithms/publickey.c @@ -57,11 +57,11 @@ static const gnutls_pk_map pk_mappings[] = { }; #define GNUTLS_PK_MAP_LOOP(b) \ - const gnutls_pk_map *p; \ - for(p = pk_mappings; p->kx_algorithm != 0; p++) { b } + const gnutls_pk_map *p; \ + for(p = pk_mappings; p->kx_algorithm != 0; p++) { b } #define GNUTLS_PK_MAP_ALG_LOOP(a) \ - GNUTLS_PK_MAP_LOOP( if(p->kx_algorithm == kx_algorithm) { a; break; }) + GNUTLS_PK_MAP_LOOP( if(p->kx_algorithm == kx_algorithm) { a; break; }) /* returns the gnutls_pk_algorithm_t which is compatible with @@ -104,7 +104,7 @@ static const gnutls_pk_entry pk_algorithms[] = { #define GNUTLS_PK_LOOP(b) \ { const gnutls_pk_entry *p; \ - for(p = pk_algorithms; p->name != NULL; p++) { b ; } } + for(p = pk_algorithms; p->name != NULL; p++) { b ; } } /** |