upstream: avoid printing hash algorithm twice; from lucas AT sexy.is

OpenBSD-Commit-ID: 9d24671e10a84141b7c504396cabad600e47a941
This commit is contained in:
djm@openbsd.org 2022-04-28 02:53:31 +00:00 committed by Damien Miller
parent 0979e29356
commit e055220080
1 changed files with 2 additions and 2 deletions

4
krl.c
View File

@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $OpenBSD: krl.c,v 1.53 2021/06/04 06:19:07 djm Exp $ */
/* $OpenBSD: krl.c,v 1.54 2022/04/28 02:53:31 djm Exp $ */
#include "includes.h"
@ -1388,7 +1388,7 @@ krl_dump(struct ssh_krl *krl, FILE *f)
error("sshkey_fingerprint failed");
continue;
}
fprintf(f, "hash: SHA256:%s # %s\n", fp, sshkey_ssh_name(key));
fprintf(f, "hash: %s # %s\n", fp, sshkey_ssh_name(key));
free(fp);
free(key);
}