[krbdev.mit.edu #8375] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Wed Mar 9 14:16:49 EST 2016
Allow zero cksumtype in krb5_k_verify_checksum()
A checksum type of 0 means to use the mandatory checksum type in
krb5_k_make_checksum(), krb5_k_make_checksum_iov(), and
krb5_k_verify_checksum_iov(). Extend this meaning to
krb5_k_verify_checksum() for the checksum type in the krb5_checksum
argument. This change also applies to krb5_c_verify_checksum().
Add code to t_cksums.c to test checksum verification, including with
checksum type 0 for applicable test cases.
https://github.com/krb5/krb5/commit/78e77f10aca448161077016677b0fe963d6bf9ee
Author: Greg Hudson <ghudson at mit.edu>
Commit: 78e77f10aca448161077016677b0fe963d6bf9ee
Branch: master
src/include/krb5/krb5.hin | 12 ++++++++----
src/lib/crypto/crypto_tests/t_cksums.c | 28 +++++++++++++++++++++++++++-
src/lib/crypto/krb/verify_checksum.c | 11 ++++++++++-
3 files changed, 45 insertions(+), 6 deletions(-)
More information about the krb5-bugs
mailing list