summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/krb/checksum_confounder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/krb/checksum_confounder.c')
-rw-r--r--src/lib/crypto/krb/checksum_confounder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/krb/checksum_confounder.c b/src/lib/crypto/krb/checksum_confounder.c
index 31c7cd364..34941562c 100644
--- a/src/lib/crypto/krb/checksum_confounder.c
+++ b/src/lib/crypto/krb/checksum_confounder.c
@@ -148,7 +148,7 @@ krb5_error_code krb5int_confounder_verify(const struct krb5_cksumtypes *ctp,
goto cleanup;
/* Compare the decrypted hash to the computed one. */
- *valid = (memcmp(plaintext + blocksize, computed.data, hashsize) == 0);
+ *valid = (k5_bcmp(plaintext + blocksize, computed.data, hashsize) == 0);
cleanup:
zapfree(plaintext, input->length);