From 04c7e28f83062dc42f2380d1bb3a6bf0190852c0 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 18 Dec 2017 02:25:15 +0000 Subject: upstream commit pass negotiated signing algorithm though to sshkey_verify() and check that the negotiated algorithm matches the type in the signature (only matters for RSA SHA1/SHA2 sigs). ok markus@ OpenBSD-Commit-ID: 735fb15bf4adc060d3bee9d047a4bcaaa81b1af9 --- hash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hash.c') diff --git a/hash.c b/hash.c index bc87808a3..21f464e67 100644 --- a/hash.c +++ b/hash.c @@ -1,5 +1,7 @@ /* $OpenBSD: hash.c,v 1.4 2017/12/14 21:07:39 naddy Exp $ */ +#include "includes.h" + #include "crypto_api.h" #include -- cgit v1.2.3