mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 06:15:06 -05:00
ntp: fix Clang warning
This commit is contained in:
@@ -1567,7 +1567,7 @@ NCR_ProcessUnknown
|
||||
valid_auth = check_packet_auth(message, length, &has_auth, &key_id);
|
||||
|
||||
/* If authentication failed, reply with crypto-NAK */
|
||||
if (has_auth && !valid_auth)
|
||||
if (!valid_auth)
|
||||
key_id = 0;
|
||||
|
||||
/* Send a reply.
|
||||
|
||||
Reference in New Issue
Block a user