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, 15 Feb 2020 21:56:51 +0000 (21:56 +0000)
commit77b5ed3f8b450d4889ffb205a098f8aa7821baaf
treebfd7d4839bb452e4488b1777c8ecc9098d8b0a2d
parentee7555831b2219ee5febaf63c2a69189d58664cd
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