]> git.ipfire.org Git - thirdparty/krb5.git/commit
Factor out context establishment in GSS tests
authorGreg Hudson <ghudson@mit.edu>
Thu, 5 Sep 2013 17:34:44 +0000 (13:34 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 6 Sep 2013 05:03:01 +0000 (01:03 -0400)
commit95f6a640573076b8e68051ed4f2447be767cd2ec
treef21e91b21d22731cb60e5dc4d7dde86db37230d5
parent60edb321af64081e3eb597da0256faf117c9c441
Factor out context establishment in GSS tests

Add a new helper to common.c which runs gss_init_sec_context and
gss_accept_sec_context in a loop, and use it in test programs instead
of the open-coded one-token or two-token exchanges.
12 files changed:
src/tests/gssapi/common.c
src/tests/gssapi/common.h
src/tests/gssapi/t_accname.c
src/tests/gssapi/t_ccselect.c
src/tests/gssapi/t_enctypes.c
src/tests/gssapi/t_export_cred.c
src/tests/gssapi/t_gssexts.c
src/tests/gssapi/t_imp_cred.c
src/tests/gssapi/t_namingexts.c
src/tests/gssapi/t_s4u.c
src/tests/gssapi/t_s4u2proxy_krb5.c
src/tests/gssapi/t_spnego.c