aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-13In lib/krb5/rcache, ensure that function definition headers put theGreg Hudson2-19/+31
function name at the beginning of the line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23157 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-12Typo fixZhanna Tsitkov1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23154 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-12Post-great-reindent check. Part IIZhanna Tsitkov2-173/+211
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23153 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-12Restore the local variable typeZhanna Tsitkov1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23152 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-12Post-great-reindent check. Part IZhanna Tsitkov6-284/+363
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23151 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-11For iprop test, reduce expected attribute change count to reflect the threeLuke Howard1-5/+5
non-replicated attributes: last_success, last_failed and fail_auth_count. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23149 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-10In lib/krb5/keytab, ensure that function definition headers haveGreg Hudson4-206/+139
function names at the beginning of lines, and avoid putting open parentheses at the beginning of lines in function prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23148 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-10Remove the unnecessary src/lib/glue4.cGreg Hudson1-19/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23147 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-10Remove src/lib/crypto/krb/enc_provider, which was accidentallyGreg Hudson7-1210/+0
resurrected (again) in r22875 when merging the authdata branch to the trunk. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23146 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-09Revise patch to avoid using changequoteKen Raeburn1-3/+1
ticket: 6579 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23145 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-09quoting bug causes solaris pre-10 thread handling bugsKen Raeburn1-0/+2
Quoting problems in pattern matching on the OS name cause Solaris versions up through 9 to not be properly recognized in the thread-system configuration setup. This causes our libraries to make the erroneous assumption that valid thread support routines are available on all Solaris systems, rather than just assuming it for Solaris 10 and later. The result is assertion failures like this one reported by Meraj Mohammed and others: Assertion failed: k5int_i->did_run != 0, file krb5_libinit.c, line 63 Thanks to Tom Shaw for noticing the cause of the problem. The bug may be present in the 1.6.x series as well. ticket: 6579 target_version: 1.7.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23144 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-07Don't flush stdout so much. Calculate and display some more averagesKen Raeburn1-2/+11
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23142 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-07Delay start of test until the start of a new second on the systemKen Raeburn1-4/+17
clock. Print per-thread stats only once. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23141 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Reformat some open-paren issues. Remove kprop.c and kpropd.c fromTom Yu3-1936/+1907
exclusions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23140 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Change INIT_ONCE compile-time flag into a run-time option. DeleteKen Raeburn1-62/+89
DIRECT support; always create threads. Allow setting of test interval and number of threads via run-time options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23139 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Don't start by attempting to unlink replay caches by guessingKen Raeburn1-4/+27
pathnames specific to my uid on MIT Athena systems. Instead, create a replay cache object and then destroy it through the library. Tweak the rcache-init-error messages to be specific to the instance that failed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23138 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Use krb5_get_error_message for reporting if krb5_get_server_rcache failsKen Raeburn1-2/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23137 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06make mark-cstyle; make reindentTom Yu3-295/+298
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23136 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Add slave/ to INDENTDIRS, with some exclusionsTom Yu1-3/+8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23135 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-06Move more reindent settings into variablesTom Yu1-10/+11
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23134 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-05make mark-cstyle; make reindentTom Yu15-324/+324
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23133 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-05Reformat some block comments. Refine lib/krb5/asn.1 reindentTom Yu9-183/+239
exclusion into individual file exclusions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23132 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-05Deal with some open paren formatting issues, and reindent. MakeTom Yu3-572/+567
preauth.c use the function pointer typdefs in the prototypes as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23131 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Remove cast-qual from the gcc warnings set; it is too common for us toGreg Hudson1-1/+1
have to explicitly override const in order to implement strchr-like functions or place pointers into read-only krb5_data objects. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23130 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Use "unsigned short" instead of "u_short" in argument to SET macro;Ken Raeburn2-11/+21
the Emacs cc-mode indentation code seems to get confused by the one-word case. Reindent. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23129 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Restore the krb5 1.6 behavior of not retrying AS requests afterGreg Hudson1-16/+1
PREAUTH_FAILED errors. Among other things, this change causes krb5_get_init_creds_opt_set_pa to act (mostly) as a constraint rather than simply as an optimistic set of preauth types, which is the behavior apps had been seeing prior to 1.7. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23128 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Delete obsolete krb5-mark-cstyle.el. (replaced by a python script)Tom Yu1-28/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23127 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Reindent and manually restore some BSD-style files that wereTom Yu10-257/+265
previously incorrectly marked as krb5-style. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23126 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-04Correct regexps for matching emacs and cc-mode versions. In reindentTom Yu3-33/+92
targets, chdir to SRCTOP to avoid excessive references to $(SRCTOP) in the find script. Define new variables to avoid errors when creating exception lists for find scripts. Use a python script instead of elisp to mark files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23125 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-03Reindent after making fixes for emacs-23Tom Yu12-20/+20
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23123 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-03Monkey patch for the cc-mode that comes with emacs-23.x; that versionTom Yu2-0/+52
of cc-mode has a bug that causes incorrect indentation of case labels containing character constants. Already fixed upstream in unreleased cc-mode sources. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23122 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-02Emacs 21 doesn't have custom-variable-p. Also, adjust to use theTom Yu1-5/+5
correct controlling variables for older incarnations of whitespace-mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23121 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-02Clean up a bunch of signed/unsigned comparison warningsGreg Hudson19-61/+66
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23120 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Simplify krb5int_get_error (and fix a cast-qual warning) by notGreg Hudson1-24/+7
worrying so much about system errors longer than 1K. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23118 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Be a little more const-correct in krb5int_vset_error_flGreg Hudson1-13/+8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23117 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Un-constify struct errinfo's msg field because it is the owner of thatGreg Hudson1-1/+1
memory (even though the memory is intended to be immutable during its lifetime). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23116 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01In k5-int.h, fix make_data to work with C++Greg Hudson1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23115 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Memory leak fix: in obtain_sam_padata, after claiming the contents ofGreg Hudson1-1/+2
the scratch data object, free the outer structure before nulling the pointer to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23114 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Rework in an attempt to deal with variant Emacs versionsTom Yu1-16/+32
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23113 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Move the implementations of four deprecated crypto functions toGreg Hudson6-47/+42
old_api_glue.c. Move the prototypes of seven deprecated crypto functions to old_api_glue.c instead of k5-int.h, since we don't use those functions internally. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23112 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-01Stop using deprecated krb5_encrypt_data in preauth code. UseGreg Hudson2-6/+6
krb5_encrypt_helper instead. (encrypt_helper takes a key usage instead of an ivec, but that's okay since the invocations were using null ivecs anyway.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23111 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31Reformat to avoid parens at beginnings of linesTom Yu4-110/+110
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23109 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31In lib/krb5/ccache, ensure that function definition headers haveGreg Hudson4-16/+28
function names at the beginnings of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23107 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31In lib/krb5/asn.1, ensure that function definition headers haveGreg Hudson9-219/+433
function names at the beginnings of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23106 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31Reformat lib/krb5/asn.1 internal prototypes to avoid problematic parensGreg Hudson6-343/+310
at beginnings of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23105 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31Reformat asn1_make.h prototypes to avoid the problematic parens atGreg Hudson1-30/+18
beginnings of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23104 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31In lib/krb5/os, ensure that function definition headers have functionGreg Hudson12-36/+70
names at the beginnings of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23103 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31In lib/krb5/krb, ensure all function definition headers are in ANSIGreg Hudson10-140/+122
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-31Fix indentation in gc_via_tkt.c which was messed up by a malformed #ifGreg Hudson1-221/+221
0 block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23101 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31make mark-cstyleTom Yu1249-66050/+66004
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970