From: Christian Hesse Date: Tue, 20 Oct 2020 21:46:09 +0000 (+0200) Subject: global: replace hard coded hash length X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/a4de0e810b69710c3b32f6d253d80d16dec09f36?ds=inline;hp=a4de0e810b69710c3b32f6d253d80d16dec09f36 global: replace hard coded hash length With sha1 we had a guaranteed length of 40 hex chars. This changes now that we have to support sha256 with 64 hex chars... Support both. Signed-off-by: Christian Hesse ---