diff options
Diffstat (limited to 'nts_ntp_server.c')
-rw-r--r-- | nts_ntp_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nts_ntp_server.c b/nts_ntp_server.c index be69a2b..5d46c29 100644 --- a/nts_ntp_server.c +++ b/nts_ntp_server.c @@ -279,7 +279,7 @@ NNS_GenerateResponseAuth(NTP_Packet *request, NTP_PacketInfo *req_info, } /* NTS NAK response does not have any other fields */ - if (kod) + if (kod == NTP_KOD_NTS_NAK) return 1; for (i = 0, plaintext_length = 0; i < server->num_cookies; i++) { |