summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.inJohn Gilmore1995-03-182-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5158 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, duplicates config/pre.in.John Gilmore1995-03-184-8/+31
| | | | | | | | | | | | | | (CFLAGS): Add -I options for file and stdio, to avoid paths in #include statements. (all-mac, clean-mac): Add. * ccdefops.c: Avoid includes with pathnames, since they don't work on the Mac. Configure the default cache based on whether the system has <sys/types.h> (which defines types for low-level file operations, among other things). * configure.in (CONFIG_DIRS): Build stdio before file, for Mac convenience (where file doesn't build). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5157 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h: Move <sys/types> and u_long (etc) code to krb5/k5-config.h.John Gilmore1995-03-183-13/+8
| | | | | | | It is needed there when NEED_SOCKETS is defined. * Makefile.in (all-mac, clean-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5156 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-config.h: Move <sys/types.h> handling from ../krb5.h toJohn Gilmore1995-03-183-1/+45
| | | | | | | | | | | here, because we need <sys/types.h> or the u_* types to be defined before we include the Unix socket include files a little later in k5-config.h. We actually add this code twice, once in the MSDOS section and once in the Unix/Mac section. (NEED_SOCKETS): Also include <net/if.h>, for localaddr.c. * Makefile.in (clean-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5155 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove redundant definitions from config/pre.inJohn Gilmore1995-03-185-24/+16
| | | | | | | | | | | (clean-mac): Add. * asn1_misc.c: Avoid <malloc.h> and <memory.h> includes, for Mac. (asn1_krb5_realm_copy): Use malloc, not calloc, since we're about to clobber the storage anyway. * configure.in (WITH_KRB5ROOT): Remove, not needed. * krbasn1.h: Document that <limits.h> is needed for INT_MAX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5154 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions defined in pre/config.inTheodore Tso1995-03-172-17/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5153 dc483132-0cff-0310-8789-dd5450dbe970
* Set the return code from ss_execute_line(), so that appropriate errorTheodore Tso1995-03-172-1/+6
| | | | | | checking is done. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5152 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Use the libdes425 library so that the DESTheodore Tso1995-03-175-8/+26
| | | | | | | | | | | | | | code doesn't get dragged in twice. krlogind.c: Include <sys/time.h> so that Linux can get the FD_SET macros. kcmd.c (kcmd): Close the credentials cache when you're done with it. krlogind.c (doit): Always initialize the Krb5 error table. krlogind.c (main, doit): Minor type fixes to gethostbyname(), accept(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5151 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions defined in pre/config.inTheodore Tso1995-03-172-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5150 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions that already defined in pre/config.inTheodore Tso1995-03-172-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5149 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in, Makefile.in: Use the libdes425 library so that the DESTheodore Tso1995-03-175-6/+31
| | | | | | | | | | | | code doesn't get dragged in twice. kdc_util.c (validate_as_request): Allow a client to obtain a password changing ticket, even if the client's key is expired. main.c (usage, process_args, main): The KDC will disassociate itself from the terminal by default, unless the -n option is given. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5148 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Eliminate, comes in from pre.in.John Gilmore1995-03-172-9/+14
| | | | | | | (all-mac): Add. (localaddr.c, ustime.c, memmove.c): Fix paths to work on Mac. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5146 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, conflicts with pre.in.John Gilmore1995-03-172-11/+12
| | | | | | | | (all): Remove all-$(WHAT) stuff. (t_mddriver): Make it build on Mac. (check): Use $(EXEEXT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5145 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Tweak for Unix->MPW converter.John Gilmore1995-03-172-10/+13
| | | | | | | | | (LDFLAGS): Remove, conflicts with pre.in. (all): Remove all-$(WHAT) stuff, generalize for all platforms. (t_mddriver): Remove t_mddriver-$(WHAT) stuff, ditto. (check): Use $(EXEEXT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5144 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, conflicts with pre.in.John Gilmore1995-03-173-7/+19
| | | | | | | | | | | (clean): Insert FIXME. (verify$(EXEEXT), destest$(EXEEXT)): Make them work on Mac. (check-mac): Add, identical to Unix. (clean): Use $(EXEEXT). * des_int.h (mit_des_cbc_cksum): Fix prototype from void to long, to match the actual function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5143 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (crctest, crctest.exe): Replace crctest-unix andJohn Gilmore1995-03-172-5/+10
| | | | | | | crctest-windows with versions that work for Mac too. (check): Build and run crctest$(EXEEXT). This runs on MPW now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5142 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Avoid continuation line that starts withJohn Gilmore1995-03-172-5/+13
| | | | | | | | | | dash; it confuses the Unix->MPW makefile converter. (##DOSLIBNAME): No longer needed since DLL built one level up. (all-mac): Add. (libcrypto.a): Use explicit "./" on paths to DONE files, to help Unix->MPW makefile converter with rotten Mac pathname conventions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5141 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Replace nonstandard CHECK_STDARG withJohn Gilmore1995-03-175-4/+235
| | | | | | | | | | | | | | | AC_CHECK_HEADERS. Also check for header file macsock.h, which is a dummy test -- it's false on Unix and PC's, but on the Mac we hand-configure it to be true, to indicate that we want Mac socket support rather than Unix socket support. * base-defs.h, k5-config.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES. * k5-config.h (NEED_SOCKETS): Add new section which brings in socket include files for the appropriate compilation environment (Mac or Unix; Windows already did this). * macsock.h: New include file, derived from Cygnus Network Security Mac K4 release, for simulating sockets under MacTCP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5140 dc483132-0cff-0310-8789-dd5450dbe970
* First cut at Macintosh configuration supportJohn Gilmore1995-03-176-0/+511
| | | | | | | | | | | | * mac-config.cache: New file, a hand-built autoconf `config.cache' file with the right values for building under MPW. * mac-config.README: Documentation for mac-config.cache. * mac-pre.in, mac-post.in: Versions of pre.in and post.in for configuring on MPW. * mac-mf.sed: A `sed' script which will turn carefully constructed Unix Makefiles into carefully constructed Macintosh MPW Makefiles. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5139 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Replace CHECK_STDARG with AC_CHECK_HEADERS.John Gilmore1995-03-174-9/+13
| | | | | | | | | * main.c (print_status): Use HAVE_STDARG_H to control whether to declare with ", ..."; not STDARG_PROTOTYPES. * ksu.h: Don't include <stdarg.h> or <varargs.h>, since they are already included by "com_err.h". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5138 dc483132-0cff-0310-8789-dd5450dbe970
* Problem with the error routines and windows definitionsKeith Vetter1995-03-172-0/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5137 dc483132-0cff-0310-8789-dd5450dbe970
* Top level makefile changes for the PC--now builds the whole worldKeith Vetter1995-03-174-6/+189
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5136 dc483132-0cff-0310-8789-dd5450dbe970
* Ported the error table stuff to the PCKeith Vetter1995-03-177-36/+91
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5135 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed up typo in the MakefileKeith Vetter1995-03-162-10/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5134 dc483132-0cff-0310-8789-dd5450dbe970
* Include file changes needed for error table stuffKeith Vetter1995-03-162-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5133 dc483132-0cff-0310-8789-dd5450dbe970
* Missed some dependencies on the PC build in src/libKeith Vetter1995-03-162-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5132 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile now recurses into krb5 directory on the PCKeith Vetter1995-03-162-1/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5131 dc483132-0cff-0310-8789-dd5450dbe970
* Added 3 new files and changed the makefile in lib to be able to make a DLLKeith Vetter1995-03-1615-56/+707
| | | | | | on the PC out of the source in crypto, krb5 and util\et. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5130 dc483132-0cff-0310-8789-dd5450dbe970
* Changes in des425 due to adding prototypes for called functionsKeith Vetter1995-03-156-22/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5129 dc483132-0cff-0310-8789-dd5450dbe970
* Windows changes in krb5: makefile cleanup and some small code changesKeith Vetter1995-03-1514-26/+120
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5128 dc483132-0cff-0310-8789-dd5450dbe970
* Some windows i/o stuff and moved 2 prototypes to func-proto.hKeith Vetter1995-03-154-8/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5127 dc483132-0cff-0310-8789-dd5450dbe970
* Two changes in the crypto directory: 1) 16 vs 32 bit errors in DES and 2)Keith Vetter1995-03-1516-210/+85
| | | | | | removed crud for making a DLL (will be done at a higher level.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5123 dc483132-0cff-0310-8789-dd5450dbe970
* Lots of changes made based on feedbackTheodore Tso1995-03-131-59/+161
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5109 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize ret_cred to zero so that in case of an error, we don't tryTheodore Tso1995-03-102-1/+6
| | | | | | to free stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5108 dc483132-0cff-0310-8789-dd5450dbe970
* Make the second argument of asn1buf_insert_octet be an int, instead ofTheodore Tso1995-03-103-2/+8
| | | | | | | | asn1_octet. ANSI C narrow types screws us again.... (The RS/6000 compiler blew out until this was fixed....) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5107 dc483132-0cff-0310-8789-dd5450dbe970
* Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, andTheodore Tso1995-03-102-9/+6
| | | | | | | FD_ZERO. Defining them in favor of using the system include files is almost always wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5106 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c Use new calling convention for krb5_mk_req_extended()Chris Provenzano1995-03-102-34/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5105 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c Use new calling convention for krb5_mk_req(),Chris Provenzano1995-03-102-103/+35
| | | | | | krb5_mk_priv(), and krb5_mk_safe(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5104 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c Use new calling convention for krb5_sendauth()Chris Provenzano1995-03-102-25/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5103 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd()) Use new calling convention for krb5_sendauth().Chris Provenzano1995-03-103-40/+25
| | | | | | * krcp.c () Use new calling convention for krb5_mk_req_extended(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5102 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c Use new calling convention for krb5_sendauth(),Chris Provenzano1995-03-102-74/+37
| | | | | | krb5_mk_priv(), and krb5_rd_priv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5101 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c, kadmin_adr.c, kadmin_cpw.c, kadmin_done.c, kadmin_mod.cChris Provenzano1995-03-1011-460/+168
| | | | | | | | * kadmin_add.c, kadmin_cpr.c, kadmin_del.c, kadmin_inq.c, kadmin_msnd.c Use new calling convention for krb5_sendauth(), krb5_mk_priv(), krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5100 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_con.h auth_con.c Added for krb5_auth_con definition andChris Provenzano1995-03-1013-604/+1024
| | | | | | | | | | | | | | | | | | | | | support routines. * mk_req.c (krb5_mk_req()) * mk_req_ext.c (krb5_mk_req_extended()) * rd_rep.c (krb5_rd_rep()) * sendauth.c (krb5_sendauth()) * mk_priv.c (krb5_mk_priv()) * mk_safe.c (krb5_mk_safe()) * rd_priv.c (krb5_rd_priv()) * rd_safe.c (krb5_rd_safe()) Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. * send_tgs.c (krb5_send_tgs()) Eliminate call to krb5_mk_req_extended(), which does far more than krb5_send_tgs() needs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5099 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc_destry.c (krb5_fcc_destroy())Chris Provenzano1995-03-104-3/+11
| | | | | | | | | * fcc_init.c (krb5_fcc_initialize()) Initialize kret before returning it. * fcc_maybe.c (fcc_lock_file()) Initialize st before returning it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5098 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (krb5_gss_init_sec_context())Chris Provenzano1995-03-103-49/+73
| | | | | | | | | | | Use new calling convention for krb5_mk_req_ext() and krb5_rd_rep(). * gssapiP_krb5.h Added a krb5_auth_context pointer to the krb5_gss_ctx_id_rec structure to store the auth_context between multiple calls to krb5_gss_init_sec_context(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5097 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h Added empty structure declaration of krb5_auth_contextChris Provenzano1995-03-103-1/+12
| | | | | | * k5-int.h Moved #include "adm_defs.h" to krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5096 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),Chris Provenzano1995-03-104-45/+121
| | | | | | | | | | | | | | | | | | krb5_sendauth(), krb5_mk_priv(), krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe()). Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. * fieldbits.h Added #define AP_OPTS_USE_SUBKEY 0x00000001 for a new option to an ap req message. This is mainly a clean way to inform krb5_mk_req() and krb5_mk_req_extended() to create the subkey without adding an extra argument. * safepriv.h Replace safe/priv flags with flags for krb5_auth_context and add krb5_replay_data structure for when the appilication want to do it's own replay detection for safe and priv calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5095 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-windows): tabs, not spaces.Mark Eichin1995-03-092-2/+6
| | | | | | from ezra. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5094 dc483132-0cff-0310-8789-dd5450dbe970
* Some int/long, signed/unsigned conversionsKeith Vetter1995-03-094-11/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5093 dc483132-0cff-0310-8789-dd5450dbe970
* Remove verify.o when doing a make cleanTheodore Tso1995-03-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5092 dc483132-0cff-0310-8789-dd5450dbe970