diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-07-14 15:51:56 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-07-14 15:51:56 +0200 |
commit | b143b86e303a09afd5d69a06175f2dca98559a6d (patch) | |
tree | 0fcab65ce792a95ea1ba64f1c2c558ed0f19e1db | |
parent | cb8c15a231a9a8e49d6654a7d599fe9152159ae8 (diff) |
fixed ci error
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | src/pkt.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); |