aboutsummaryrefslogtreecommitdiff
path: root/src/or/keypin.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-02 09:09:37 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:54 -0400
commit80f1a2cbbdd0abd509711a5069f31855df5bcd79 (patch)
tree0500eb46d12dd6cf70d1a48e1c6206cb738a9bd7 /src/or/keypin.c
parentc3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (diff)
downloadtor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.tar.gz
tor-80f1a2cbbdd0abd509711a5069f31855df5bcd79.zip
Add the -Wextra-semi warning from clang, and fix the cases where it triggers
Diffstat (limited to 'src/or/keypin.c')
-rw-r--r--src/or/keypin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/keypin.c b/src/or/keypin.c
index 1f82eccf86..749bc6121c 100644
--- a/src/or/keypin.c
+++ b/src/or/keypin.c
@@ -93,14 +93,14 @@ return (unsigned) siphash24g(a->ed25519_key, sizeof(a->ed25519_key));
}
HT_PROTOTYPE(rsamap, keypin_ent_st, rsamap_node, keypin_ent_hash_rsa,
- keypin_ents_eq_rsa);
+ keypin_ents_eq_rsa)
HT_GENERATE2(rsamap, keypin_ent_st, rsamap_node, keypin_ent_hash_rsa,
- keypin_ents_eq_rsa, 0.6, tor_reallocarray, tor_free_);
+ keypin_ents_eq_rsa, 0.6, tor_reallocarray, tor_free_)
HT_PROTOTYPE(edmap, keypin_ent_st, edmap_node, keypin_ent_hash_ed,
- keypin_ents_eq_ed);
+ keypin_ents_eq_ed)
HT_GENERATE2(edmap, keypin_ent_st, edmap_node, keypin_ent_hash_ed,
- keypin_ents_eq_ed, 0.6, tor_reallocarray, tor_free_);
+ keypin_ents_eq_ed, 0.6, tor_reallocarray, tor_free_)
/**
* Check whether we already have an entry in the key pinning table for a