chiark / gitweb /
site, pubkeys: Avoid for (int a=...
[secnet.git] / pubkeys.c
index 6dc741b7f5f9e63480b09151c1d684c6d5a5c0bc..6ea877b3c5fde82fe95746381b0453a9d80ce52b 100644 (file)
--- a/pubkeys.c
+++ b/pubkeys.c
@@ -30,7 +30,8 @@ void keyset_dispose(struct peer_keyset **ks_io)
     ks->refcount--;
     assert(ks->refcount>=0);
     if (ks->refcount) return;
-    for (int ki=0; ki<ks->nkeys; ki++) {
+    int ki;
+    for (ki=0; ki<ks->nkeys; ki++) {
        struct sigpubkey_if *pk=ks->keys[ki].pubkey;
        pk->dispose(pk->st);
     }