summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (all-unix, clean_unix): Update for current geographyTom Yu2000-06-302-7/+10
| | | | | | | of util/db2; needs to be moved to util/db2/Makefile.in at some point. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12489 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Twiddle things around to support building libdb underTom Yu2000-06-302-2/+7
| | | | | | krb5 build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12488 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Rework to use krb5 build systemTom Yu2000-06-3010-23/+149
| | | | | | | | | | | | | | | | | | * Makefile.in: Rework to use krb5 build system. * btree/Makefile.in: New file. * clib/Makefile.in: New file. * db/Makefile.in: New file. * mpool/Makefile.in: New file. * recno/Makefile.in: New file. * test/Makefile.in: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12487 dc483132-0cff-0310-8789-dd5450dbe970
* * db-int.h: Remove renaming for memmove, strerror, mkstemp sinceTom Yu2000-06-302-12/+5
| | | | | | this is now done by the build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12486 dc483132-0cff-0310-8789-dd5450dbe970
* Move .cvsignore from obj to include to reflect the discontinuation ofTom Yu2000-06-303-174/+1
| | | | | | the obj directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12485 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: kprop does not depend on the database libraries.Ezra Peisach2000-06-302-3/+8
| | | | | | kpropd does not depend, nor need to link in the database libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12484 dc483132-0cff-0310-8789-dd5450dbe970
* * t_walk_rtree.c (main): Declare as returning intEzra Peisach2000-06-3018-94/+120
| | | | | | | | | | | | | | | | | | | | | * get_in_tkt.c (_krb5_conf_boolean): Declare as taking a const char * * str_conv.c (krb5_timestamp_to_string): Work around gcc's warning that %c format in strftime might return only two digits for the year. * mk_safe.c, rd_rep.c, send_tgs.c: Remove unused goto label. * kdc_rep_dc.c (krb5_kdc_rep_decrypt_proc): Remove code with no effect. * init_ctx.c: Make krb5_brand[] look used. * chpw.c, decode_kdc.c, decrypt_tk.c, enc_helper.c, get_creds.c, get_in_tkt.c, gic_keytab.c, gic_pwd.c, preauth2.c, vfy_increds.c: Add parentheses around assignment used as truth value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12483 dc483132-0cff-0310-8789-dd5450dbe970
* * t_an_to_ln.c: Include <stdio.h> for prototypesEzra Peisach2000-06-307-20/+39
| | | | | | | | | | | | | | * locate_kdc.c (krb5_locate_srv_dns): Remove unused variable. * changepw.c, sendto_kdc.c, sn2princ.c: Add parentheses around assignment used as truth value. * ccdefname.c (get_from_os): Cast return from getuid() to long and indicate use of format in sprintf. gcc -Wall complaints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12482 dc483132-0cff-0310-8789-dd5450dbe970
* init_ets.c: Remove unused variableEzra Peisach2000-06-302-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12481 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_io.c (krb5_rc_io_creat): Cast getpid() to int.Ezra Peisach2000-06-302-1/+6
| | | | | | (Use of a long might overflow buffer if pid_t is 64 bits */ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12480 dc483132-0cff-0310-8789-dd5450dbe970
* * afsstring2key.c: Initialization of S[8][64] - each 64 elementsEzra Peisach2000-06-302-32/+37
| | | | | | | | enclosed in brackets. gcc -Wall complaint. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12479 dc483132-0cff-0310-8789-dd5450dbe970
* crypto_libinit.c: Add prototype for prng_cleanup()Ezra Peisach2000-06-302-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12478 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Add getutmpx() prototype if neededEzra Peisach2000-06-303-0/+33
| | | | | | | | | | | | | * configure.in: If getutmpx() exists on the system, test if a prototype is provided by the system headers. This was picked up by gcc -Wall. Under Linux glibc 2.1, the system header file <utmpx.h> provides a prototype for getutmpx() only if _GNU_SOURCE is defined (GNU extensions). The test offeres a prototype (which matches in this case) - if the prototype conflicts with a system provided one, we do not provide it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12477 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Do not provide prototype for static function unlessEzra Peisach2000-06-302-0/+8
| | | | | | | | defined. gcc -Wall error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12476 dc483132-0cff-0310-8789-dd5450dbe970
* * random_key.c (des_random_key): Add parentheses around assignmentEzra Peisach2000-06-302-2/+7
| | | | | | used as truth value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12475 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h (asn1buf_insert_octet): Define using __inline__ ratherTom Yu2000-06-302-1/+6
| | | | | | than inline in order to shut up gcc -pedantic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12474 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-06-305-211/+883
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12473 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-06-3010-48/+224
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12472 dc483132-0cff-0310-8789-dd5450dbe970
* merge from 1.2 branchKen Raeburn2000-06-301-0/+274
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12471 dc483132-0cff-0310-8789-dd5450dbe970
* 1.2-beta4 pullupKen Raeburn2000-06-3039-321/+971
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12470 dc483132-0cff-0310-8789-dd5450dbe970
* dyn_insert.c, dyn_put.c: Include string.h for memmove prototypeEzra Peisach2000-06-293-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12463 dc483132-0cff-0310-8789-dd5450dbe970
* * iter-test.c (main): Code was using ovsec_kadm_ret_t in place ofEzra Peisach2000-06-292-3/+8
| | | | | | an int for referencing array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12462 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c (_kadm5_init_any): gss_krb5_ccache_name returnsEzra Peisach2000-06-292-3/+12
| | | | | | const char *, but the code was treating it as a char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12461 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_aprof_init): profile_init takes aEzra Peisach2000-06-292-2/+7
| | | | | | profile_filespec_t as argument instad of char **. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12460 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c: Provide prototype for static krb_cr_tkt_int functionEzra Peisach2000-06-293-1/+16
| | | | | | | | before being used. * getst.c: Remove unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12459 dc483132-0cff-0310-8789-dd5450dbe970
* prng.c (prng_cleanup): Ensure memory allocated before calling freeEzra Peisach2000-06-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12458 dc483132-0cff-0310-8789-dd5450dbe970
* * conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,Ezra Peisach2000-06-297-10/+7
| | | | | | send_tgs.c: Remove unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12457 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c: Add newline at end of fileEzra Peisach2000-06-294-3/+12
| | | | | | | | * gmt_mktime.c: Define days_in_month as type int. * locate_kdc.c (krb5_locate_srv_dns): Cleanup unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12456 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up unused variableEzra Peisach2000-06-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12455 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused variablesEzra Peisach2000-06-294-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12454 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefault.c: Add newline at end of file (compiler warning)Ezra Peisach2000-06-292-12/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12453 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_get.c (asn1_get_tag): Remove unused variableEzra Peisach2000-06-292-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12452 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): More conditionalizing variable defintionEzra Peisach2000-06-295-3/+19
| | | | | | | | | | | | | | based on OS features. * cleanup.c (pty_cleanup): Add parenthesis about assignment in conditional (gcc suggestion). * pty-int.h: Include pty.h if it exists (for openpty prototype under Linux). * configure.in: Check for pty.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12451 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of unused variableEzra Peisach2000-06-282-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12448 dc483132-0cff-0310-8789-dd5450dbe970
* des.c, des3.c: Remove unused variablesEzra Peisach2000-06-283-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12447 dc483132-0cff-0310-8789-dd5450dbe970
* afsstring2key.c: "register x" -> "register int x"Ezra Peisach2000-06-282-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12446 dc483132-0cff-0310-8789-dd5450dbe970
* * dyn_create.c, dyn_delete.c, dyn_insert.c, dyn_put.c: Use %pEzra Peisach2000-06-285-8/+13
| | | | | | format for displaying pointers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12444 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-27126-2661/+2906
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage toKen Raeburn2000-06-272-1/+24
| | | | | | | | | | | | | | | be KRB5_CALLCONV. * k5-int.h (krb5int_cc_default): Fix linkage to be consistent with code. (Note: We should dump KRB5_DLLIMP.) me: * krb5.hin (krb5_recvauth_version, krb5_free_ktypes): Declare. dalmeida: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12440 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h (krb4_swab16): Mask upper byte of input after shifting, in case theKen Raeburn2000-06-272-3/+18
| | | | | | | | | | input value is a signed short. (krb4_swab32): Mask high byte of input value after shifting, to avoid "time out of bounds" error when byte orders are different and low byte of timestamp has its high bit set and the timestamp is stored as a signed value. (krb_get_err_text): Don't use "errno" as an argument name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12439 dc483132-0cff-0310-8789-dd5450dbe970
* * libpty.h: If SOCK_DGRAM is not defined, provide a definition forEzra Peisach2000-06-266-6/+33
| | | | | | | | | | | | | | struct sockaddr_in to satisfy prototype. (based on similar code in k5-int.h). * update_wtmp.c (ptyint_update_wtmp), update_utmp.c (pty_update_utmp), open_slave.c (pty_open_slave), getpty.c (pty_getpty): conditionalize definition of variables based on code paths that are included. Essentially, clean up many compiler warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12438 dc483132-0cff-0310-8789-dd5450dbe970
* Fix email address in ChangeLogEzra Peisach2000-06-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12437 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): Use profile_filespec_t insteadEzra Peisach2000-06-263-8/+17
| | | | | | | | | | | of char *. (change provided by Nathan Neulinger <nneul@umr.edu>) * profile.hin: Make definition of const_profile_filespec_t to be based on profile_filespec_t. Compile time warnings cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12436 dc483132-0cff-0310-8789-dd5450dbe970
* * dyn_realloc.c: Remove unused variableEzra Peisach2000-06-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12435 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_put.c (__bt_put): Initialize "e"Ken Raeburn2000-06-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12434 dc483132-0cff-0310-8789-dd5450dbe970
* * dbtest.c (err): Add format attribute to decl, for typechecking under GNU CKen Raeburn2000-06-262-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12433 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h (com_err): Declare with format attribute if using gccKen Raeburn2000-06-262-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12432 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-238-13/+51
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12427 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-2311-27/+61
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-06-08 Alexandra Ellwood <lxs@mit.edu> * stdcc_util.c (dupCCtoK5, ↵Alexandra Ellwood2000-06-092-4/+9
| | | | | | dupK5toCC): Fixed code that stores times in localtime, not in kdc time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12369 dc483132-0cff-0310-8789-dd5450dbe970