summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
Commit message (Collapse)AuthorAgeFilesLines
...
* Added +1 to strlens so that null terminator will fit in the buffer ;-PAlexandra Ellwood2000-02-101-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12032 dc483132-0cff-0310-8789-dd5450dbe970
* Removed calls that destroyed and recreated ccapi_data->NamedCache if it ↵Scott McGuire2000-02-042-8/+9
| | | | | | exists in krb5_stdcc_initialize(); instead close and call create on it again git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11994 dc483132-0cff-0310-8789-dd5450dbe970
* * mcc.h (mcc_head): Define as macro to give exported name a krb5 prefixKen Raeburn1999-12-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11946 dc483132-0cff-0310-8789-dd5450dbe970
* Use CCache2.h under MacOS for CCAPI v2 compatibilityMiro Jurisic1999-11-223-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11904 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-265-0/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-265-5/+2
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2468-68/+272
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* implement KRB5_TC_SUPPORTED_KTYPES and common _retrieve methods; from 1.1 branchKen Raeburn1999-09-0111-0/+395
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11768 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc_util.c (deep_free_cc_v5_creds):Alexandra Ellwood1999-08-051-0/+9
| | | | | | | | | | Added free(creds) so that the cc_creds gets freed when a cred_union gets freed. Before it was leaking memory. I searched the k5 sources for folks calling deep_free_cc_v5_creds and my change seems to not break anyone else. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11621 dc483132-0cff-0310-8789-dd5450dbe970
* Added free(creds) to deep_free_cc_v5_creds so that someone is freeing the ↵Alexandra Ellwood1999-08-051-0/+2
| | | | | | | | cc_creds when a cred_union gets freed. Before it was leaking memory I searched the k5 sources for folks calling deep_free_cc_v5_creds and my change seems to not break anything. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11620 dc483132-0cff-0310-8789-dd5450dbe970
* stdcc.c (krb5_stdcc_destroy):Alexandra Ellwood1999-08-031-0/+6
| | | | | | | Added code to free the krb5_ccache like krb5_stdcc_close does so we don't leak memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11616 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed a memory leak in krb5_stdcc_destroy(). The destroy function was ↵Alexandra Ellwood1999-08-031-3/+13
| | | | | | failing to free memory allocated for the krb5_ccache. Code to free this memory was swiped from krb5_stdcc_close() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11613 dc483132-0cff-0310-8789-dd5450dbe970
* Use PostMessage instead of SendMessage so that we don't blockDanilo Almeida1999-06-104-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11508 dc483132-0cff-0310-8789-dd5450dbe970
* Remove references to cc_*_instance functionsDanilo Almeida1999-06-082-12/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11495 dc483132-0cff-0310-8789-dd5450dbe970
* These are a bunch of intertwined changes to the windows build.Danilo Almeida1999-05-192-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | This log message includes all of the different changes across several Makefile.in files (and win-pre.in and win-post.in): - Remove "-" from recursive windows make invocations so that we can bail on a build error. New MIGNORE option restores the previous bailing behavior. - Update windows readme to reflect current practices. - Add NO_OUTDIR synonym for NO_OUTPRE in windows build. - Top-level windows Makefile now builds util which now builds util/windows, util/et, and util/profile (instead of building them directly). - Remove trailing backslash from rule that creates the windows output dir. This backslash would cause the rule to always be invoked. - Move WCONFIG and WCONFIG_EXE definitions into win-pre.in. - Remove rules in include directory that blindly copy include header files from gssapi, et, and profile. Instead, use/add build rules to the components that generate them that copy only when the file changes. - Use dependencies in include/krb5 to copy header files instead of blindly copying them. Add !if 0/!endif wrapper to Unix version of the rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
* Clean ccapi subdirectory in clean-windows targetDanilo Almeida1999-05-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11451 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c (krb5_win_ccdll_load): Register the FILE ccache type if weTheodore Tso1999-05-132-1/+13
| | | | | | | are using ccapi, so that we make sure the FILE ccache type will work if the user specifies it in an environment variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11441 dc483132-0cff-0310-8789-dd5450dbe970
* Do win32 build in subdirDanilo Almeida1999-05-108-30/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c: Only compile this file on Windows (to avoid screwing up theTheodore Tso1999-04-212-3/+7
| | | | | | Macintosh build). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11372 dc483132-0cff-0310-8789-dd5450dbe970
* Fix silly typoTheodore Tso1999-03-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11335 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefops.c: Change the default ccache type under windows to beTheodore Tso1999-03-312-2/+13
| | | | | | | original FILE ccache type; this will get set to ccapi if the krbcc32.dll can be found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11334 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c, winccld.h, stdcc.c: Add files to dynamically loadTheodore Tso1999-03-315-3/+251
| | | | | | | krbcc32.dll, so that we can fall back and use the built-in file ccache type if krbcc32.dll doesn't exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11331 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use cc_uint4 since the Windows include file apparently doesn'tTheodore Tso1999-03-231-2/+2
| | | | | | include it. unsigned int will work just fine here for now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11302 dc483132-0cff-0310-8789-dd5450dbe970
* Fix = vs == bug in krb5_stdcc_next_credTheodore Tso1999-03-141-3/+16
| | | | | | | | check the return value from cc_create. Remove use of C++ comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11285 dc483132-0cff-0310-8789-dd5450dbe970
* Added function krb5_free_cc_cred_union(), a local version of cc_free_creds() ↵Scott McGuire1999-03-103-48/+97
| | | | | | to free cred_unions allocated by Kerb5 library. Removed mac-only sys_alloc() stuff and go back to malloc() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11256 dc483132-0cff-0310-8789-dd5450dbe970
* Now compiles on the Mac against CC API v2Miro Jurisic1999-02-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11191 dc483132-0cff-0310-8789-dd5450dbe970
* Added debugging hooks to stdcc.cTheodore Tso1999-02-182-77/+222
| | | | | | | | | | | | Added broadcast event notification of the krb5 cache changing, for backwards compatibility with krb5.exe. Added support for the V2 Ccache API. In stdcc_util.c, replace the old matching algorithm with one that's closer to the original stdcc and file algorithm, and so is provably correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11181 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bad comment terminator in stdcc_util.c which was stopping it from compilingTheodore Tso1999-02-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11157 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Enable the ccapi directory for windows buildsTheodore Tso1999-02-093-31/+35
| | | | | | ccdefops.c: Make the ccapi the default ccache type for Windows machines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11156 dc483132-0cff-0310-8789-dd5450dbe970
* Initial rototilling of these functions to make them more krb5 libraryTheodore Tso1999-02-053-250/+318
| | | | | | API compliant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11149 dc483132-0cff-0310-8789-dd5450dbe970
* Initial commit of massively modified stdcc functions to make them somewhatTheodore Tso1999-02-042-269/+394
| | | | | | closer to correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11148 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add ccapi to the include path so we can find stdcc.hTheodore Tso1999-01-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11128 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inappropriate cc_shutdown() call from krb5_cc_destroy()Scott McGuire1999-01-061-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-058-0/+28
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, ccdefops.c: Temporarily back out the ccapi ccache underTheodore Tso1998-12-053-9/+23
| | | | | | | | | Windows so we can make sure the rest of the krb5 tree builds correctly under Windows. (Note: I didn't revert lib/krb5/os/ccdefname.c, so setting KRB5_CC_NAME to FILE:C:\tmp\tkt is required to make things work.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11080 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-053-156/+29
| | | | | | | | | | to buildtop and thisconfigdir, respectively.) fcc_maybe.c (fcc_lock_file): Removed all of the filesystem-dependent mess for file locking, which has been now properly moved to krb5_lock_file(), where it belongs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11068 dc483132-0cff-0310-8789-dd5450dbe970
* Use $() instead of ${}, which doesn't work for MakefilesTheodore Tso1998-12-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11053 dc483132-0cff-0310-8789-dd5450dbe970
* More Windows compatibility fixesScott McGuire1998-11-253-28/+76
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11047 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed places where code didn't follow CCache API. Integrated some stuff ↵Scott McGuire1998-11-053-60/+79
| | | | | | from Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11016 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-305-0/+881
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11003 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-307-882/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Merged in smcguire's fixesMiro Jurisic1998-10-232-35/+116
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10989 dc483132-0cff-0310-8789-dd5450dbe970
* Both Macintoshes and Windows use the ccapi as the default credentialsTheodore Tso1998-09-011-3/+3
| | | | | | cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10903 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is usedTheodore Tso1998-09-012-1/+15
| | | | | | when building under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10901 dc483132-0cff-0310-8789-dd5450dbe970
* Add windows build instructions to build CCache API CacheTheodore Tso1998-08-242-3/+16
| | | | | | implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10878 dc483132-0cff-0310-8789-dd5450dbe970
* Added Frank's CCache API implementation and made it default on the MacMiro Jurisic1998-08-208-1/+802
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10857 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-172-3/+3
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add ccache/memory as a directory to be recursively builtTheodore Tso1998-05-272-3/+17
| | | | | | by this makefile under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10597 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update Makefile so that it can be built under WindowsTheodore Tso1998-05-272-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10596 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse lib/krb5's configure.in files into a single top-levelTheodore Tso1998-02-289-15/+28
| | | | | | configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10476 dc483132-0cff-0310-8789-dd5450dbe970