chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-secnet-sites: Fix error handling if caller is in wrong group
[secnet.git]
/
pubkeys.c
diff --git
a/pubkeys.c
b/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");
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);
BUF_FREE(&buf);
buffer_destroy(&buf);
return new_closure(cl);