diff options
| author | Erwin Lansing <erwin@FreeBSD.org> | 2015-10-01 07:47:44 +0000 |
|---|---|---|
| committer | Erwin Lansing <erwin@FreeBSD.org> | 2015-10-01 07:47:44 +0000 |
| commit | ff14d03521a89636be959e65a21374951fe699ba (patch) | |
| tree | f50c4271d12b6939db067758ade30df93a038a91 /lib/isc/hmacmd5.c | |
| parent | b04f5d3d3ff49c604e768add0cf35600b9eee074 (diff) | |
Vendor import of BIND 9.9.8vendor/bind9/9.9.8
Sponsored by: DK Hostmaster A/S
Diffstat (limited to 'lib/isc/hmacmd5.c')
| -rw-r--r-- | lib/isc/hmacmd5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/isc/hmacmd5.c b/lib/isc/hmacmd5.c index 9c10532c53c1..d27bfe42a786 100644 --- a/lib/isc/hmacmd5.c +++ b/lib/isc/hmacmd5.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009, 2013, 2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2013-2015 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -159,5 +159,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_safe_memcmp(digest, newdigest, len)); + return (isc_safe_memequal(digest, newdigest, len)); } |
