chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
example.conf: Use new name-prefixed format
[secnet.git]
/
pubkeys.c
diff --git
a/pubkeys.c
b/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);
}