summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/lib/isc/hmacmd5.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-03 08:55:02 -0300
committerRenato Botelho <renato@netgate.com>2016-05-03 08:55:02 -0300
commit5081bace2b0bdb7140682f44a429ab5ef9e71751 (patch)
treed061b3d4735aaab475bafa19055993adf3dd675f /contrib/ntp/lib/isc/hmacmd5.c
parent25206d6ba449fcddd116840c00b967fbd620f735 (diff)
parent39baf3a8165fd1fa06257b6812862e7113c5b905 (diff)
downloadFreeBSD-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.c2
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));
}
OpenPOWER on IntegriCloud