[krbdev.mit.edu #8099] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Feb 6 18:11:41 EST 2015


Add tests for krb5int_c_combine_keys

krb5int_c_combine_keys is used only by SAM-2 preauth with neither the
send-encrypted-sad nor use-sad-as-key flags, so it isn't covered by
any automated function tests.  Add some unit tests to make sure that
it works and returns the expected results for two randomly generated
test vectors.

(back ported from commit 6e8b2fba84df2ef74ce071330b4c3f843f4b7541)

https://github.com/krb5/krb5/commit/a6dde5302783a59d958e1fdafd53b22fa627b158
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: a6dde5302783a59d958e1fdafd53b22fa627b158
Branch: krb5-1.11
 .gitignore                              |    1 +
 src/lib/crypto/crypto_tests/Makefile.in |   11 +++-
 src/lib/crypto/crypto_tests/t_combine.c |   80 +++++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list