krb5 commit: Use k5_bcmp() in krb5_k_verify_checksum()
Greg Hudson
ghudson at mit.edu
Wed Mar 9 13:27:01 EST 2016
https://github.com/krb5/krb5/commit/5fd0c22926acd3b44075cb06444b55a7b2b00bfb
commit 5fd0c22926acd3b44075cb06444b55a7b2b00bfb
Author: Greg Hudson <ghudson at mit.edu>
Date: Fri Mar 4 13:11:18 2016 -0500
Use k5_bcmp() in krb5_k_verify_checksum()
src/lib/crypto/krb/verify_checksum.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/crypto/krb/verify_checksum.c b/src/lib/crypto/krb/verify_checksum.c
index 8727cb3..45b33f4 100644
--- a/src/lib/crypto/krb/verify_checksum.c
+++ b/src/lib/crypto/krb/verify_checksum.c
@@ -63,8 +63,8 @@ krb5_k_verify_checksum(krb5_context context, krb5_key key,
if (ret)
return ret;
- *valid = (memcmp(computed.contents, cksum->contents,
- ctp->output_size) == 0);
+ *valid = (k5_bcmp(computed.contents, cksum->contents,
+ ctp->output_size) == 0);
free(computed.contents);
return 0;
More information about the cvs-krb5
mailing list