Always pad fingerprints to 16 characters master
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 16 May 2020 15:29:00 +0000 (17:29 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 23 May 2020 11:33:37 +0000 (13:33 +0200)
commitf1f65026a94137c91b5466b149ef3ea3f20091e9
treec74f479fc4d581661b796453aa60ea78795aefa0
parentf34a383eeed6282fa16fb021157a60c75f33fdcd
Always pad fingerprints to 16 characters

Fingerprints were not padded with zeros. This led to a ucert failure
when the first byte of the fingerprint is 00, as it expects the
fingerprint to have a constant length (and this expectation seems
reasonable to me).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Jo-Philipp Wich <jo@mein.io>
main.c