]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add tests for krb5int_c_combine_keys
authorGreg Hudson <ghudson@mit.edu>
Tue, 20 May 2014 18:52:44 +0000 (14:52 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 6 Feb 2015 22:45:59 +0000 (17:45 -0500)
commita6dde5302783a59d958e1fdafd53b22fa627b158
tree1e09160dbaeeaeefaa913e1276b74e297051e322
parent60e6d8c3695dbdd2c1f0d7a737c68a408dc084b3
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)

ticket: 8099 (new)
version_fixed: 1.11.6
status: resolved
.gitignore
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/t_combine.c [new file with mode: 0644]