summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * 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
* * 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
* 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
* 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
* 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
* 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
* 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
* * 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