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