chiark / gitweb /
pubkey handling: Call sethash when needed
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Nov 2019 18:29:13 +0000 (18:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 18:22:32 +0000 (18:22 +0000)
commitc334c0add9f54fa6962e45aa238c47c75d061726
tree3342ae79b1c03321f456e7e9fbdae08b52174ce9
parent443c25db7d2c75a7b386cdd01a6c79c5042c1596
pubkey handling: Call sethash when needed

Pass defhash about.

Without this, attempts to use these new arrangements (in particular,
keyset_load when there are rsa1 keys involved, which will be the usual
new arrangement) would segfault.

This fixes the bug introduced in:
  site: Read public peer keys from key file

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
pubkeys.fl.pl
pubkeys.h
site.c