aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/t_kerb.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-31In lib/krb5/krb, ensure all function definition headers are in ANSIGreg Hudson1-6/+12
style and have the function name at the beginning of a line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23102 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31make mark-cstyleTom Yu1-126/+127
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
2008-12-18Remove krb524, lib/des425, lib/krb4, and include/kerberosIV.Greg Hudson1-5/+0
Remove krb4 build system references and conditionals. Move des425 header stuff referenced by des_int.h into des_int.h. Remove krb4 test cases. ticket: 6303 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21544 dc483132-0cff-0310-8789-dd5450dbe970
2006-04-03include autoconf.h in a few more placesKen Raeburn1-0/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17835 dc483132-0cff-0310-8789-dd5450dbe970
2003-03-09 * t_kerb.c: Only include krb.h if krb4 support compiled in,Ezra Peisach1-0/+7
otherwise define ANAME_SZ, INST_SZ and REALM_SZ. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15271 dc483132-0cff-0310-8789-dd5450dbe970
2002-12-23 * t_kerb.c: Include string.h for strcmp prototypeEzra Peisach1-0/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15067 dc483132-0cff-0310-8789-dd5450dbe970
2002-09-03protoizeKen Raeburn1-21/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14812 dc483132-0cff-0310-8789-dd5450dbe970
2001-10-10Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn1-6/+6
don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
2000-09-25 * t_kerb.c: Add prototypes for test functionsEzra Peisach1-3/+10
Cleans up gcc warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12669 dc483132-0cff-0310-8789-dd5450dbe970
2000-07-18 * vfy_increds.c: include int-proto.h for krb5_libdefault_booleanEzra Peisach1-1/+1
prototype. * t_ser.c (ser_eblock_test): ifdef out old eblock serialization test which is no longer called. (see 1999-09-01 ChangeLog) * t_kerb.c: Cast argument to fprintf to long to agree with format string. * t_deltat.c: If MIN is defined, undef before redefined as 60. * str_conv.c: Provide strptime prototype if the system header files fail to provide a prototype. * int-proto.h: Add prototype for krb5_libdefault_boolean() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12555 dc483132-0cff-0310-8789-dd5450dbe970
2000-06-27pullup from 1.2 branchKen Raeburn1-0/+32
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
1998-05-09str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to beTheodore Tso1-0/+22
able to properly parse Y2K dates. t_kerb.c: Add ability to test krb5_string_to_timestamp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10559 dc483132-0cff-0310-8789-dd5450dbe970
1997-02-20init_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op)Richard Basch1-1/+0
t_kerb.c t_walk_rtree.c: Remove unneeded call to krb5_init_ets git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9930 dc483132-0cff-0310-8789-dd5450dbe970
1997-02-19Added new function krb5_set_principal_realm(), which is used toTheodore Tso1-0/+42
mutate the realm of a principal. This avoids a really heinous abstraction boundary violation by the appl/bsd and appl/telnet code. A test case for this function was added to t_kerb, and a test new test acse to t_ref_kerb.out git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9916 dc483132-0cff-0310-8789-dd5450dbe970
1996-09-26get_in_tkt.c (make_preauth_list): Correctly null-terminate theTheodore Tso1-5/+55
preauth list generated by make_preauth_list. unparse.c (krb5_unparse_name_ext): Make unparse correctly handle all cases where a principal contains a nulls, backspace, newlines, or tabs. t_kerb.c (test_parse_principal): Add test for checking krb5_parse_principal() parse.c (krb5_parse_name): Set all of the magic field values. Makefile.in, t_ref_kerb.out: Added new tests to test krb5_parse() and krb5_unparse(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9126 dc483132-0cff-0310-8789-dd5450dbe970
1995-05-23Rearrange #include files so that krb5.h gets included first, so thatTheodore Tso1-1/+1
the debugging information can be more efficiently collapsed since the type numbers will be the same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5853 dc483132-0cff-0310-8789-dd5450dbe970
1995-05-05conv_princ.c (krb5_425_conv_principal): Use new callingTheodore Tso1-0/+85
convention of krb5_get_realm_domain, which is that it returns the realm *without* the leading dot. Also use the profile code to look up individual instance conversions using [realms]/<realm>/v4_instance_convert/<inst> This allows special case handling of mit.edu and lithium.lcs.mit.edu. t_kerb.c: New file for testing krb library functions. Currently only tests krb5_425_conv_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5726 dc483132-0cff-0310-8789-dd5450dbe970