summaryrefslogtreecommitdiff
path: root/lib/isc/hmacmd5.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/hmacmd5.c')
-rw-r--r--lib/isc/hmacmd5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/isc/hmacmd5.c b/lib/isc/hmacmd5.c
index 6abe6e27df8e3..0388b17083b7b 100644
--- a/lib/isc/hmacmd5.c
+++ b/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));
}