diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-03 08:55:02 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-03 08:55:02 -0300 |
commit | 5081bace2b0bdb7140682f44a429ab5ef9e71751 (patch) | |
tree | d061b3d4735aaab475bafa19055993adf3dd675f /contrib/ntp/lib/isc/hmacmd5.c | |
parent | 25206d6ba449fcddd116840c00b967fbd620f735 (diff) | |
parent | 39baf3a8165fd1fa06257b6812862e7113c5b905 (diff) | |
download | FreeBSD-src-5081bace2b0bdb7140682f44a429ab5ef9e71751.zip FreeBSD-src-5081bace2b0bdb7140682f44a429ab5ef9e71751.tar.gz |
Merge remote-tracking branch 'origin/releng/10.3' into RELENG_2_3
Diffstat (limited to 'contrib/ntp/lib/isc/hmacmd5.c')
-rw-r--r-- | contrib/ntp/lib/isc/hmacmd5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/lib/isc/hmacmd5.c b/contrib/ntp/lib/isc/hmacmd5.c index 6abe6e2..0388b17 100644 --- a/contrib/ntp/lib/isc/hmacmd5.c +++ b/contrib/ntp/lib/isc/hmacmd5.c @@ -145,5 +145,5 @@ isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) { REQUIRE(len <= ISC_MD5_DIGESTLENGTH); isc_hmacmd5_sign(ctx, newdigest); - return (ISC_TF(memcmp(digest, newdigest, len) == 0)); + return (ISC_TF(isc_tsmemcmp(digest, newdigest, len) == 0)); } |