summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gnutls_algorithms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c
index 741d8203ca..0d3af64b75 100644
--- a/lib/gnutls_algorithms.c
+++ b/lib/gnutls_algorithms.c
@@ -1426,7 +1426,7 @@ static const gnutls_pk_entry pk_algorithms[] = {
#define GNUTLS_PK_LOOP(b) \
const gnutls_pk_entry *p; \
- for(p = sign_algorithms; p->name != NULL; p++) { b ; }
+ for(p = pk_algorithms; p->name != NULL; p++) { b ; }
#define GNUTLS_PK_ALG_LOOP(a) \
GNUTLS_PK_LOOP( if(p->id == algorithm) { a; break; } )