summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/lib/isc/hmacmd5.c
diff options
context:
space:
mode:
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