chiark / gitweb /
changelog: document changes since 0.6.0
[secnet.git] / pubkeys.c
index efcfa77fc31d717ab9a93d79edc312e1d16be121..6dc741b7f5f9e63480b09151c1d684c6d5a5c0bc 100644 (file)
--- a/pubkeys.c
+++ b/pubkeys.c
@@ -78,12 +78,6 @@ static list_t *makepublic_apply(closure_t *self, struct cloc loc,
     bool_t ok=sch->loadpub(sch,&buf,&pubkey,&cl,&log.log,loc);
     if (!ok) cfgfatal(loc,"make-public","public key loading failed");
 
-    if (pubkey->sethash) {
-       struct hash_if *defhash=
-           find_cl_if(context,"hash",CL_HASH,True,"make-public",loc);
-       pubkey->sethash(pubkey->st,defhash);
-    }
-
     BUF_FREE(&buf);
     buffer_destroy(&buf);
     return new_closure(cl);