summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Chasing an elusive nmake bugKeith Vetter1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5306 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (AC_REPLACE_FUNCS): Add getuid to the list.John Gilmore1995-03-294-4/+14
| | | | | | | * getuid.c: Simple getuid() to fake out single-user systems. * strcasecmp.c: Remove duplicated <sys/types.h> and u_char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5300 dc483132-0cff-0310-8789-dd5450dbe970
* * DNR.c: Add Apple MacTCP source file for domain name resolution.John Gilmore1995-03-2910-36/+542
| | | | | | | | | | | | | | | | | | | | | | | * macsock.c: Add fake socket support routines for MacTCP. * Makefile.in (OBJS, SRCS): Add DNR and macsock. * ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now. FIXME, this needs to find the Preferences folder and use that. FIXME, shouldn't be conditioned on HAVE_MACSOCK_H. * gmt_mktime.c: Use HAVE_SYS_TYPES_H. * krbfileio.c: Remove <sys/types.h>. * localaddr.c, sendto_kdc.c: Convert to more generic socket support. Use closesocket instead of close, SOCKET_ERRNO rather than errno, SOCKET rather than int, etc. * localaddr.c: Use getmyipaddr() from macsock.c, if on Mac. Add FIXME for multiple local addresses. * lock_file.c: Provide a dummy version for MacOS. * read_pwd.c (ECHO_PASSWORD): Add #ifdef's to avoid all the ioctls and other stuff that turn off echoing. This is useful for debugging on MacOS. FIXME: ECHO_PASSWORD needs to be added to configure.in. * ustime.c: Bring in Mac-specific time-and-timezone code. It probably isn't hooked up correctly, yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5299 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_req_sim.c: Really remove the fileJohn Gilmore1995-03-292-74/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5298 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (BUILDTOP2, etc): Make it possibleJohn Gilmore1995-03-293-13/+45
| | | | | | | | | | | | | to build the error tables on Unix before a Mac build. (all-mac): Don't build $(HDRS) on Mac. (unixmac): Build `includes'. (clean-mac): Add. (includes, clean, .SUFFIXES, .et.h, .et.c): Add, to make it possible to run `make -f Makefile.in unixmac' successfully. * configure.in (ASN1_{HDRS,OBJS,SRCS, BOGUS): Remove, unused. (CopyHeader rules): Remove, they're now in Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5297 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unixmac): Add to build header filesJohn Gilmore1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5296 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-mac): Add.John Gilmore1995-03-293-6/+13
| | | | | | | | * configure.in (LinkFile's): Put `./' on libraries to ease Mac translation. (AppendRule all-unix): Rename from AppendRule all. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5295 dc483132-0cff-0310-8789-dd5450dbe970
* Bring in portability fixes from Cygnus K4 releaseJohn Gilmore1995-03-287-58/+93
| | | | | | | | | | | | | * f_cbc.c, f_cksum.c, f_pcbc.c: Replace individual casts with simpler solution. * f_tables.h: Insert debugging code, and circumvention for MPW compiler bug. * key_sched.c: Remove ancient (microvax??!) comments, and dup prototype. * verify.c: Small hack for MS-Windows scrolling. Fix spelling. "register x" -> "register int x". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5288 dc483132-0cff-0310-8789-dd5450dbe970
* * full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:John Gilmore1995-03-277-26/+4
| | | | | | | Remove explicit includes of socket files. * locate_kdc.c: Remove <sys/types.h> and "os-proto.h". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5276 dc483132-0cff-0310-8789-dd5450dbe970
* * macsock.c (connect, send, recv): Add for K5 compatability.John Gilmore1995-03-272-1/+103
| | | | | | (getmyipaddr): Add for use in K5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5275 dc483132-0cff-0310-8789-dd5450dbe970
* * macsock.c: Add Mac socket support file, verbatim from K4 releaseJohn Gilmore1995-03-272-0/+488
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5274 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Removed rd_req_sim.cChris Provenzano1995-03-2712-392/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * auth_con.c: Default cksumtype is now CKSUMTYPE_RSA_MD4_DES. * auth_con.c: Added krb5_auth_con_setuseruserkey(), krb5_auth_con_getkey(), krb5_auth_con_getremotesubkey(), krb5_auth_con_getauthenticator(), krb5_auth_con_getremoteseqnumber(), krb5_auth_con_initivector(). * auth_con.c: Fixed krb5_auth_con_getlocalsubkey() to check for a valid local_subkey before calling krb5_copy_keyblock(). * auth_con.h: Fixed some comments. * mk_req_ext.c (krb5_mk_req_extended()): Always pass in a seed (the keyblock contents) to krb5_calculate_checksum() * rd_rep.c (krb5_rd_rep()): Use appropriate key to decode reply. * rd_safe.c (krb5_rd_safe()): Don't pass checksum to krb5_rd_safe_basic(), it's unnecessary. * compat_recv.c (krb5_compat_recvauth()): * mk_rep.c (krb5_mk_rep()): * rd_req.c (krb5_rd_req()): * rd_req_dec.c (krb5_rd_req_decode()): * recvauth.c (krb5_recvauth()): Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5265 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c: Use new calling convention for krb5_rd_req()Chris Provenzano1995-03-272-135/+47
| | | | | | and krb5_mk_rep(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5264 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (memmove.c): memmove.c is in krb5/posix, not krb5/osMark Eichin1995-03-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5249 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & inTom Yu1995-03-252-1/+4
| | | | | | reference to fvno_bytes) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5248 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_gennew.c: Ultrix cc (and K&R compilers) doesn't deal withTom Yu1995-03-252-3/+9
| | | | | | automatic aggregate initialization, so fixed scc_fvno usage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5247 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode.c: move declaration of gmt_mktime() outside ofTom Yu1995-03-252-1/+8
| | | | | | | asn1_decode_generaltime() so that compilers like Ultrix cc that don't support prototypes within function bodies don't break git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5246 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. The ketype field was 2 bytes, not 1Theodore Tso1995-03-252-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5243 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid bug from the last changeTheodore Tso1995-03-252-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5242 dc483132-0cff-0310-8789-dd5450dbe970
* Hardcode the size of the keytype field in the file format, to beTheodore Tso1995-03-253-2/+10
| | | | | | | compatible with what was used in the Beta 4 release (before we changed the size of a krb5_keytype type). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5241 dc483132-0cff-0310-8789-dd5450dbe970
* Don't include sys/socket.h and netdb.h, since they are included byTheodore Tso1995-03-242-4/+5
| | | | | | k5-config.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5240 dc483132-0cff-0310-8789-dd5450dbe970
* locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h,Theodore Tso1995-03-244-15/+11
| | | | | | | | | | | | since these files are already included by k5-config.h sendto_kdc.c: Don't include sys/socket.h, since it is already included by k5-config.h sn2princ.c: Don't include netdb.h, since it is already included by k5-config.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5239 dc483132-0cff-0310-8789-dd5450dbe970
* Don't cast dbm_close() to void, because dbm_close is already voidTheodore Tso1995-03-242-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5238 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(SRCTOP) instead of $(srcdir), since Mac's don't like dealingTheodore Tso1995-03-242-6/+11
| | | | | | with $(U)$(U). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5234 dc483132-0cff-0310-8789-dd5450dbe970
* Add install rule for the error table headersTheodore Tso1995-03-242-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5232 dc483132-0cff-0310-8789-dd5450dbe970
* realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor directives.Theodore Tso1995-03-243-11/+17
| | | | | | | | | (Not portable). hst_realm.c (krb5_get_host_realm): Don't indent preprocessor directives. Removed excess close paren introduced by Keith. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5213 dc483132-0cff-0310-8789-dd5450dbe970
* Also produce a link map along with the DLLKeith Vetter1995-03-232-5/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5205 dc483132-0cff-0310-8789-dd5450dbe970
* Work around of fscanf which is not available in a windows DLLKeith Vetter1995-03-233-4/+122
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5202 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototypes to ccache change notificationKeith Vetter1995-03-227-13/+72
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5198 dc483132-0cff-0310-8789-dd5450dbe970
* New file, unix_time, didn't work on the PCKeith Vetter1995-03-224-2/+105
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5197 dc483132-0cff-0310-8789-dd5450dbe970
* Repair some makefile changes which broke the PC buildKeith Vetter1995-03-222-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5196 dc483132-0cff-0310-8789-dd5450dbe970
* Make -I options work when the build and source tree are differentTheodore Tso1995-03-222-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5191 dc483132-0cff-0310-8789-dd5450dbe970
* Added the GSSAPI routines to the windows dllKeith Vetter1995-03-223-380/+420
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5185 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fixes in ccache/file for the PC: files need to be opened in binary mode,Keith Vetter1995-03-228-9/+105
| | | | | | | unitialized variable and changed some clever code that depends upon 32 bit integers. Also, added hooks, ala k4, that notify the world when the cache changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5184 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed signed/unsigned assignment mismatchesKeith Vetter1995-03-224-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5183 dc483132-0cff-0310-8789-dd5450dbe970
* Changed the name of the gssapi library created under Windows and a couple ofKeith Vetter1995-03-228-13/+54
| | | | | | signed/unsigned assignment mismatches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5182 dc483132-0cff-0310-8789-dd5450dbe970
* The "includes" target is *not* obsolete; it's necessary to copy theTheodore Tso1995-03-222-1/+6
| | | | | | header files to the build tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5179 dc483132-0cff-0310-8789-dd5450dbe970
* Added function (unix_time_gmt_unixsec) needed for des425 to work withTheodore Tso1995-03-213-0/+32
| | | | | | the Cygnus krb.a. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5176 dc483132-0cff-0310-8789-dd5450dbe970
* * bld_pr_ext.c, bld_princ.c: Replace STDARG_PROTOTYPES withJohn Gilmore1995-03-193-8/+13
| | | | | | HAVE_STDARG_H for consistency. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5172 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Eliminate duplicate of config/pre.inJohn Gilmore1995-03-182-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5167 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Zap duplicate.John Gilmore1995-03-182-2/+6
| | | | | | (all-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5166 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in.John Gilmore1995-03-183-3/+5
| | | | | | * localaddr.c: Remove socket include files now handled in k5-int.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5165 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check-mac): Add.John Gilmore1995-03-188-39/+44
| | | | | | | | | | | | | * compat_recv.c, get_fcreds.c, recvauth.c: Eliminate Unix socket #includes, which are now handled by k5-int.h (via k5-config.h). * conv_princ.c: Rename variable "comp" to another name; "comp" apparently bothers the MPW compiler... * rd_cred.c: Avoid (void) casts of void functions, for MPW. * t_walk_rtree.c: Put com_err.h after k5_int for <sys/types> stuff. (main): Declare and initialize the krb5_context that's being passed to everything. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5164 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Zap duplicate defn.John Gilmore1995-03-184-4/+11
| | | | | | (all-mac, clean-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5163 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Elim duplicateJohn Gilmore1995-03-182-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5162 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Eliminate, duplicate.John Gilmore1995-03-182-4/+13
| | | | | | | | | | (SRCS): Eliminate $(srcdir) which causes mac problems. (all-unix): Eliminate obsolete "includes". (all-mac): Add. (unixmac): Add $(SRCS) so that the .c source files will be created here in the original "configure tree on Unix" stage of the build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5161 dc483132-0cff-0310-8789-dd5450dbe970
* Fix rules for localdr.c, ustime.c, and memmove.c so that theyTheodore Tso1995-03-182-6/+11
| | | | | | | reference $(srcdir) where appropriate. (The conversion to use the $(S)$(U) hacks screwed this up.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5160 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_errs.c: Mac doesn't have EISDIR error.John Gilmore1995-03-186-28/+26
| | | | | | | | | * scc_gennew.c, scc_maybe.c: Eliminate the use of htons and ntohs for byte order handling; just do it by hand. * scc_read.c (krb5_scc_read_authdatum): Zap unused variable "ret". * Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5159 dc483132-0cff-0310-8789-dd5450dbe970
* * 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