summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-2238-407/+466
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing declarations, removed duplicate onesTheodore Tso1995-02-223-9/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4969 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) when linkingTheodore Tso1995-02-222-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4968 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) when linking. (For allowing use of Pure SoftwareTheodore Tso1995-02-222-1/+5
| | | | | | tools). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4967 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new configure production which allows a special linker to beTheodore Tso1995-02-222-0/+18
| | | | | | specified. Useful for running programs like Purify, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4966 dc483132-0cff-0310-8789-dd5450dbe970
* Add line for $(LD)Theodore Tso1995-02-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4965 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: check for HAVE_FLOCK, since we may need to useMark Eichin1995-02-213-22/+95
| | | | | | | | | | | both flock and fcntl. * fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall back to flock (if we have it.) Now kinit et. al. "just work" on sunos and solaris, even if you use tmpfs. (tested on sunos, the solaris build has recently broken elsewhere...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4964 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ets.c (krb5_init_ets): use old-style definitionMark Eichin1995-02-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4963 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h: get krb5/autoconf.h.Mark Eichin1995-02-213-3/+10
| | | | | | | | | * Makefile.in (KRB5_HEADERS): add config.h, remove rsa-md4.h and crc-32.h which aren't here anymore. (changes suggested by ezra peisach) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4962 dc483132-0cff-0310-8789-dd5450dbe970
* Updated krb5/error_tables for the PC. Makefile.in set up to run awk if oneKeith Vetter1995-02-213-13/+49
| | | | | | is available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4961 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-2136-177/+204
| | | | | | functions and their prototypes and fixed upt the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4960 dc483132-0cff-0310-8789-dd5450dbe970
* PC'fied gssapi directories. Mostly changing Makefile.in and adding theKeith Vetter1995-02-2149-226/+317
| | | | | | windows INTERFACE keyword to functions. A few int/long fixes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4959 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Flip again. Use AC_CHECK_HEADERS, but default theJohn Gilmore1995-02-214-15/+139
| | | | | | | | | | | | symbol-setting. This is Modern Autoconf Style. * config.h: Create from stock/config.h and stock/config.win. * Makefile.in (BUILT_HEADERS): Remove config.h. (CONF_REPLACE, CONFSRC, config.h rule): Remove. Config.h is a static header file, ever since imake died. Now it really is. (clean): Don't remove config.new any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4958 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h, config.win: Remove; merge them both into ../config.h.John Gilmore1995-02-213-144/+5
| | | | | | Now that we aren't using imake, this isn't a generated header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4957 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-2150-184/+376
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* Renames for 8.3 uniqueness for files created by the Make processKeith Vetter1995-02-204-7/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4955 dc483132-0cff-0310-8789-dd5450dbe970
* DOS 8.3 filename changes. The make process created some files withKeith Vetter1995-02-204-7/+16
| | | | | | bad names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4954 dc483132-0cff-0310-8789-dd5450dbe970
* Experimental checkinKeith Vetter1995-02-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.John Gilmore1995-02-172-2/+8
| | | | | | | (Fixes resulting #define names to HAVE_XXX rather than HAS_XXX, which is not only consistent but also matches what's in sysincl.h.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4952 dc483132-0cff-0310-8789-dd5450dbe970
* * acconfig.h: added HAS_SYS_FILE_H & HAS_SYS_PARAM_H for WindowsJohn Gilmore1995-02-152-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4950 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: made to work under WindowsJohn Gilmore1995-02-154-14/+32
| | | | | | | | | | | | | | | - added windows only make preamble - moved the all target after the objects it depends on - used $(OBJEXT) and $(EXEEXT) where needed - split crctest into unix rules and windows rules - changed file separatars into macros where needed * crctest.c: changed int to long to work on 16 bit machines * crc.c: added Windows calling convention to the function and casted the assignment of the function. [There's a minor problem -- the cast should be fixed another way -- but I'll check it in this way and then Keith will fix it.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4949 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: added header checks for sys/param.h and sys/file.h.John Gilmore1995-02-155-9/+47
| | | | | | | | | | | | | * encryption.h: added typedef prototype for sum_func function with the windows api to make microsoft compiler happy. * sysincl.h: conditionally include sys/file.h and sys/param.h since windows doesn't have them. * Makefile.in: - changed macros with ${...} to $(...) since nmake barfs on {}. - added windows only make preamble - split the all target into unix and windows branches git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4948 dc483132-0cff-0310-8789-dd5450dbe970
* * config.win: new file--windows base template for config.hJohn Gilmore1995-02-153-0/+65
| | | | | | * config.h: added API definition default of NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4947 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Added macros for directory syntax, filename extensionsJohn Gilmore1995-02-155-2/+122
| | | | | | | | | and what system we're building on (defaults to Unix). * post.in: split clean into unix and windows branches * windows.in: new file--makefile macros and rules for windows * rm.bat: new file--DOS batch file to mimic Unix's rm command git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4946 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: add modentTom Yu1995-02-146-9/+1260
| | | | | | | | | * getdate.y: import get_date * kdbt_ed_ct.ct: add modent * configure.in: * Makefile.in: support for getdate.y git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4945 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak --- the default encryption types was not being freedTheodore Tso1995-02-142-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4944 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for libsocket and libnsl (sigh). krb5_init_ctx drags inTheodore Tso1995-02-114-4/+19
| | | | | | | | cryptoconf.c, which drags in enough of the crypto library that socket() gets called. We should to fix this eventually to make klist smaller, but the fix will be subtle. Sigh.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4943 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for libsocket and libnsl (sigh). krb5_init_ctx drags inTheodore Tso1995-02-113-3/+14
| | | | | | | | cryptoconf.c, which drags in enough of the crypto library that socket() gets called. We should to fix this eventually to make klist smaller, but the fix will be subtle. Sigh.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4942 dc483132-0cff-0310-8789-dd5450dbe970
* Remove needless #include of <krb5/asn.1/encode.h>Theodore Tso1995-02-102-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4941 dc483132-0cff-0310-8789-dd5450dbe970
* Don't include <krb5/asn.1/encode.h>; use <krb5/asn1.h>Theodore Tso1995-02-102-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4940 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruftTheodore Tso1995-02-105-94/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4939 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruftTheodore Tso1995-02-1012-728/+69
| | | | | | krb5_encode.h and krb5_decode.h have been poured into include/krb5/asn1.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4938 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruft -- moved included .h files from krb5/asn.1/*.h intoTheodore Tso1995-02-108-1048/+253
| | | | | | asn1.h, to simplify the krb5 header file structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4937 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ISODE cruftTheodore Tso1995-02-102-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4936 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_use_keytype() was being called when the argument was a encryptionTheodore Tso1995-02-102-1/+8
| | | | | | | type. Change use to krb5_use_cstype(). Actually, any use of krb5_use_keytype() is a bug by definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4935 dc483132-0cff-0310-8789-dd5450dbe970
* Added -e option to print out encryption typesChris Provenzano1995-02-092-1/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4932 dc483132-0cff-0310-8789-dd5450dbe970
* Set up the keyblock's etype field correctly (after copying theTheodore Tso1995-02-092-2/+7
| | | | | | keyblock, so it doesn't get overwritten!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4931 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (show_principal): make sane and print all usefulTom Yu1995-02-092-4/+68
| | | | | | fields git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4927 dc483132-0cff-0310-8789-dd5450dbe970
* Add KRB5_INT32 definitions for non-32 int platformsTheodore Tso1995-02-082-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4925 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c Removed krb5_keytype, changed krb5_enctype toChris Provenzano1995-02-082-7/+10
| | | | | | | krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype * for krb5_get_in_tkt_with_password() rotuine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4924 dc483132-0cff-0310-8789-dd5450dbe970
* * kprop.c Use krb5_get_in_tkt_with_keytab() instead ofChris Provenzano1995-02-082-4/+7
| | | | | | krb5_get_in_tkt_with_skey(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4923 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt())Chris Provenzano1995-02-086-148/+250
| | | | | | | | | | | | | | | | | | * in_tkt_sky.c (krb5_get_in_tkt_with_skey()) * in_tkt_pwd.c (krb5_get_in_tkt_with_password()) Removed krb5_keytype, changed krb5_enctype to krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *. Changed the args to the key_proc arg of krb5_get_in_tkt() to be the following (krb5_context, const krb5_keytype, krb5_data *, krb5_const_pointer, krb5_keyblock **) * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab()) Added this routine to replace krb5_get_in_tkt_with_skey() in kinit. * Makefile.in Added new source file in_tkt_ktb.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4922 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c Removed krb5_keytype, changed krb5_enctype toChris Provenzano1995-02-082-26/+11
| | | | | | | krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype * for krb5_get_in_tkt_with_password() rotuine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4921 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c Removed krb5_keytype, changed krb5_enctype toChris Provenzano1995-02-082-24/+10
| | | | | | | krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype * for krb5_get_in_tkt_with_password() rotuine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4920 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_in_tkt()) Changed key_proc args to be theChris Provenzano1995-02-082-11/+32
| | | | | | | | | | | | | following (krb5_context, const krb5_keytype, krb5_data *, krb5_const_pointer, krb5_keyblock **) * func-proto.h (krb5_get_in_tkt_*()) Removed krb5_keytype, changed krb5_enctype to krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *. * func-proto.h Added new routine krb5_get_in_tkt_with_keytab(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4919 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c Removed krb5_keytype, changed krb5_enctype toChris Provenzano1995-02-082-29/+11
| | | | | | | krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype * for krb5_get_in_tkt_with_password() rotuine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4918 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c Do a krb5_init_context() before using a krb5_contextChris Provenzano1995-02-082-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4917 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (main()) Removed krb5_keytype, changed krb5_enctype toChris Provenzano1995-02-082-72/+23
| | | | | | | | | | | | | krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype * for krb5_get_in_tkt_with_password() rotuine. * kinit.c (main()) use new API for krb5_get_in_tkt(), and replace krb5_get_in_tkt_with_skey() with krb5_get_in_tkt_with_keytab() and remove all unnecessary cruft. * kinit.c Do a krb5_init_context() before using a krb5_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4916 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): delete pre.out,Mark Eichin1995-02-042-1/+7
| | | | | | | | | Makefile.out, and post.out immediately after using them, for cleanliness' sake. tested. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4911 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): also check for the versionMark Eichin1995-02-042-2/+11
| | | | | | | | | number of the reply being whatever we had in the first byte of the request. tested with kinit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4910 dc483132-0cff-0310-8789-dd5450dbe970