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>
Mon, 30 Dec 2019 13:15:50 +0000 (13:15 +0000)
commita9f93e4ab82fb4a326c3a56792e6e68f120ece76
treea93c08d165a1351886aa517e2f7331e9fadb591f
parent598dd28245fe5b5d2b0bea4c8d9f1abd8062cf93
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