diff options
Diffstat (limited to 'contrib/ntp/sntp/networking.c')
-rw-r--r-- | contrib/ntp/sntp/networking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/sntp/networking.c b/contrib/ntp/sntp/networking.c index 6a176c5..21cf09a 100644 --- a/contrib/ntp/sntp/networking.c +++ b/contrib/ntp/sntp/networking.c @@ -184,7 +184,7 @@ process_pkt ( ** keyfile and compare those md5sums. */ mac_size = exten_len << 2; - if (!auth_md5((char *)rpkt, pkt_len - mac_size, + if (!auth_md5(rpkt, pkt_len - mac_size, mac_size - 4, pkt_key)) { is_authentic = FALSE; break; |