summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4/tkt_string.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove krb524, lib/des425, lib/krb4, and include/kerberosIV.Greg Hudson2008-12-181-101/+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
* Avoid use of unchecked sprintf in libraries. Use asprintf if theKen Raeburn2007-07-121-1/+2
| | | | | | | output buffer is allocated according to the size of data to be written, or snprintf otherwise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19703 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-1/+1
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* Reduce local configure script's work by removing static defines and header andKen Raeburn2003-03-051-0/+1
| | | | | | | | | | | | | | | | | function info available in krb5/autoconf.h. * gethostname.c, getst.c, kadm_net.c, klog.c, kparse.c: Include krb5/autoconf.h. * kuserok.c, log.c, memcache.c, mk_preauth.c, netread.c: Ditto. * netwrite.c, put_svc_key.c, recvauth.c, send_to_kdc.c: Ditto. * tkt_string.c: Ditto. * Makefile.in: Update dependencies. (DEFINES): Define KRB4_USE_KEYTAB. * configure.in: Don't define KRB4_USE_KEYTAB. Don't check for any headers or functions; include/configure.in already does it. Don't invoke AC_C_CONST explicitly; CONFIG_RULES does that. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15230 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lots of things to compile on Unix. Fix some typosTom Yu2003-02-111-1/+1
| | | | | | | | | | By means of carrying through local addresses in many places, eliminate or reduce sections of code depending on TARGET_OS_MAC conditionals. Conditionalize some prototypes in krb.h with KRB_PRIVATE, to avoid leakage on Mac. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15173 dc483132-0cff-0310-8789-dd5450dbe970
* * tkt_string.c (krb5_set_tkt_string): Add KRB5_CALLCONVTom Yu2002-12-161-1/+1
| | | | | | * win_glue.c (krb_set_tkt_string): Add KRB5_CALLCONV. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15050 dc483132-0cff-0310-8789-dd5450dbe970
* * ad_print.c, g_in_tkt.c, g_pw_in_tkt.c, kadm_net.c, klog.c:Tom Yu2002-12-141-2/+2
| | | | | | | | | | * kuserok.c, log.c, memcache.c, netread.c, netwrite.c: * password_to_key.c, recvauth.c, stime.c, tkt_string.c: Change _WINDOWS to _WIN32 in many places. Update copyright notices. Remove _WINDOWS handling completely in a few places where it's not needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15048 dc483132-0cff-0310-8789-dd5450dbe970
* Merge more KfM krb4 thingsTom Yu2002-11-271-6/+21
| | | | | | | | | | | | | | | | | | Implement *_in_tkt_creds, mk_req_creds, and rd_req_int functions. Implement KfM krb4 kadm password changing, mostly by pulling in the client side of the kadm library into the krb4 library. Do some more header file cleanup of des.h and krb.h. Remove some ancient krb4 dead weight. Some Mac-specific functionality still needs to be merged. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15014 dc483132-0cff-0310-8789-dd5450dbe970
* Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.Ken Raeburn2002-07-121-0/+2
| | | | | | Instead, include it in the source files that need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14627 dc483132-0cff-0310-8789-dd5450dbe970
* * g_krbrlm.c: Remove unused static variable krb_confEzra Peisach2001-06-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g_svc_in_tkt.c (krb_svc_init, krb_svc_init_preauth): Declare as returning int. * gethostname.c: Include unistd.h for gethostname() prototype. * getst.c: Include unistd.h for read() prototype. * in_tkt.c (in_tkt): Cast arguments to debugging printf to int from uid_t to match format statement. * kname_parse.c: Declare k_isname() and k_isinst() as returning int. Cleanup assigments in conditionals. * kuserok.c (kuserok): Cleanup assignment in conditional. * log.c (krb_set_logfile): Declare function as void. * klog.c (kset_logfile): Likewise. * pkt_clen.c (pkt_clen): Declare as returning int. * kntoln.c (krb_kntoln): Likewise. * fgetst.c (fgetst): Likewise. * rd_req.c: Declare local variable only if KRB_CRYPT_DEBUG defined. * recvauth.c: Include stdlib.h and unistd.h for read() and atoi() prototypes. * send_to_kdc.c: Include unistd.h for close() prototype. * sendauth.c (krb_sendauth): Clean up assignment in conditional. * tkt_string.c (tkt_string): Likewise git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13256 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-021-1/+1
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Build krb4 compatibility library for win16/win32Richard Basch1997-02-181-2/+12
| | | | | | (including application server routines, such as krb_rd_req) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9883 dc483132-0cff-0310-8789-dd5450dbe970
* add CNS V4 library to tree for compatibility use. Installs as libkrb4.aMark Eichin1995-04-271-0/+71
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5537 dc483132-0cff-0310-8789-dd5450dbe970