[krbdev.mit.edu #7914] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Jun 27 12:34:53 EDT 2014


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.

(cherry picked from commit 6e8b2fba84df2ef74ce071330b4c3f843f4b7541)

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



More information about the krb5-bugs mailing list