summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
Commit message (Collapse)AuthorAgeFilesLines
...
* signed/unsigned mismatchTheodore Tso1995-09-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate changes lost during Macintosh checkinEzra Peisach1995-09-126-15/+62
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6763 dc483132-0cff-0310-8789-dd5450dbe970
* Reinstate previous changes that were lostEzra Peisach1995-09-124-15/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6762 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-1114-92/+55
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_gennew.c (krb5_scc_generate_new): don't use automaticMark Eichin1995-09-072-1/+8
| | | | | | | | aggregate initialization. so we can still compile under sunos git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6738 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_read.c, scc_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-063-5/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6723 dc483132-0cff-0310-8789-dd5450dbe970
* * file_read.c, file_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-063-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6722 dc483132-0cff-0310-8789-dd5450dbe970
* * scc.h : Add another KRB5_SCC_FVNO but don't up the default.Chris Provenzano1995-09-066-14/+49
| | | | | | | | | | * scc_gennew.c, scc_maybe.c : New version saves a length after version for whatever we want to put into the ccache before the first credential (like a time skew) * scc_read.c, scc_write.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6684 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc.h : Add another KRB5_FCC_FVNO but don't up the default.Chris Provenzano1995-09-066-13/+51
| | | | | | | | | | * fcc_gennew.c, fcc_maybe.c : New version saves a length after version for whatever we want to put into the ccache before the first credential (like a time skew) * fcc_read.c, fcc_write.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6683 dc483132-0cff-0310-8789-dd5450dbe970
* Add ccache serialization supportPaul Park1995-08-298-2/+233
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6614 dc483132-0cff-0310-8789-dd5450dbe970
* Pass fds to krb5_lock_file() and krb5_unlock_file()Chris Provenzano1995-08-162-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6539 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototype for krb5_fcc_readEzra Peisach1995-07-112-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6282 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototype for krb5_scc_readEzra Peisach1995-07-112-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6281 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-064-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef around switch statement for ETXTBUSYTheodore Tso1995-06-154-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6067 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the status return from krb5_scc_store_principal is reflectedTheodore Tso1995-06-102-10/+16
| | | | | | in the return status of krb5_scc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6031 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the status return from krb5_fcc_store_principal is reflectedTheodore Tso1995-06-102-1/+7
| | | | | | in the return status of krb5_fcc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6030 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-092-5/+7
| | | | | | | now handled by CONFIG_RULES. Use DO_SUBDIRS to recurse down subdirectories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6024 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-093-6/+10
| | | | | | | | now handled by CONFIG_RULES. scc_maybe.c: Fix -Wall nits git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6023 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-093-4/+8
| | | | | | | | now handled by CONFIG_RULES. fcc_maybe.c: Fix -Wall nits git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6022 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for building shared librariesTheodore Tso1995-05-279-6/+69
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5904 dc483132-0cff-0310-8789-dd5450dbe970
* Several small changes to get the PC working without warningsKeith Vetter1995-05-252-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5879 dc483132-0cff-0310-8789-dd5450dbe970
* Rearrange #include files so that krb5.h gets included first, so thatTheodore Tso1995-05-232-2/+9
| | | | | | | the debugging information can be more efficiently collapsed since the type numbers will be the same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5853 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inclusion of malloc.h. k5-int.h already handles declarations ofEzra Peisach1995-05-092-1/+6
| | | | | | malloc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5786 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-143-0/+165
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-1411-59/+71
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused fileTheodore Tso1995-03-312-152/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5323 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
* Added prototypes to ccache change notificationKeith Vetter1995-03-224-5/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5198 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
* 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
* * 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
* Added 3 new files and changed the makefile in lib to be able to make a DLLKeith Vetter1995-03-162-3/+8
| | | | | | 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
* Windows changes in krb5: makefile cleanup and some small code changesKeith Vetter1995-03-155-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5128 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
* * aclocal.m4 (UsePepsy, PepsyTarget): removed, not referencedMark Eichin1995-03-086-3/+12
| | | | | | | | | | | anywhere in the tree. (ISODE_INCLUDE, ISODE_DEFS): removed along with remaining references in the tree. --enable-isode is dead. * configure.in (most directories): removed last remaining ISODE_INCLUDE and ISODE_DEFS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5082 dc483132-0cff-0310-8789-dd5450dbe970
* Ported the ccache directory to the PC. This is temporary--eventually we'llKeith Vetter1995-03-0827-154/+226
| | | | | | use the in-memory solution from k4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5081 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-2811-23/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5008 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
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-033-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatypeChris Provenzano1995-01-272-1/+9
| | | | | | | | | is of type unsigned int and therefore shouldn't be the argument to krb5_scc_read_ui_2(). Fixes bug reported by Ezra (discuss message 1053) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4860 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatypeChris Provenzano1995-01-272-1/+9
| | | | | | | | | is of type unsigned int and therefore shouldn't be the argument to krb5_fcc_read_ui_2(). Fixes bug reported by Ezra (discuss message 1053) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4859 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1349-486/+757
| | | | | | Added krb5_context to all krb5_routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4810 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_scc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4733 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_fcc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4732 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to return correct error code, instead of always returningTheodore Tso1994-11-182-1/+6
| | | | | | KRB5_CC_NOMEM. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4697 dc483132-0cff-0310-8789-dd5450dbe970
* All files:Theodore Tso1994-11-189-208/+268
| | | | | | | | | | | | | | | Changes to implement SCC format version #3, which is architecture independent, and includes the key encryption type information. scc_gennew.c (krb5_scc_generate_new): Generate new ccaches using whatever version is marked as the default. scc_read.c (krb5_scc_read_keyblock): Insert keyblock magic number and initialize etype value. Also add magic numbers for the krb5_principal, krb5_data, krb5_address, and krb5_authdata structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4693 dc483132-0cff-0310-8789-dd5450dbe970