From b143b86e303a09afd5d69a06175f2dca98559a6d Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 14 Jul 2019 15:51:56 +0200 Subject: fixed ci error Signed-off-by: Toni Uhlig --- src/pkt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pkt.c b/src/pkt.c index fd4614f..6b6336a 100644 --- a/src/pkt.c +++ b/src/pkt.c @@ -267,8 +267,10 @@ void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *a "SHA512" : "MD5")); if ((!opts.force_sha512 && challenge->digest.hash_type == HT_MD5 && validate_challenge_md5(cur->challenge, &challenge->digest)) || +#ifdef ENABLE_SHA512 (challenge->digest.hash_type == HT_SHA512 && validate_challenge_sha512(cur->challenge, &challenge->digest)) || +#endif cur->authenticated) { pt_log(kLog_verbose, "Remote end authenticated successfully.\n"); -- cgit v1.2.3