summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb
Commit message (Collapse)AuthorAgeFilesLines
...
* Also clear out the authorization data to avoid data aliasing problemsTheodore Tso1994-06-021-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3671 dc483132-0cff-0310-8789-dd5450dbe970
* Realkey shouldn't have been freed in one placeTheodore Tso1994-06-021-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3670 dc483132-0cff-0310-8789-dd5450dbe970
* Remember to free the addresses if necessary; cred_cleanup fixed to do allTheodore Tso1994-06-021-3/+3
| | | | | | the cleanup and return the appropriate error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3669 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the old contents of the creds structure are freed out beforeTheodore Tso1994-06-021-2/+6
| | | | | | they are replaced. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3668 dc483132-0cff-0310-8789-dd5450dbe970
* removed spurious argumentsTom Yu1994-03-261-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3474 dc483132-0cff-0310-8789-dd5450dbe970
* Add krb5_principal_to_salt_norealm()Theodore Tso1994-03-241-6/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3472 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed memory allocation strategy in get_in_tkt.c, so that all memory is freedTheodore Tso1994-03-121-102/+89
| | | | | | on error returns. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3456 dc483132-0cff-0310-8789-dd5450dbe970
* Look in the right place for krb.hTheodore Tso1994-01-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3368 dc483132-0cff-0310-8789-dd5450dbe970
* Add safety check to get_credentialsTheodore Tso1994-01-171-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3362 dc483132-0cff-0310-8789-dd5450dbe970
* Conditionalize on KRB5_KRB4_COMPATTheodore Tso1994-01-141-10/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3337 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed memory deallocation/cleanup on error returnsTheodore Tso1994-01-137-108/+118
| | | | | | | | For the credentials structures, established the convention that any of the Kerberos routines that mutate the credentials structures shall free substructure before replacing it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3320 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_close_rcache() now frees rcacheTheodore Tso1993-12-241-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3285 dc483132-0cff-0310-8789-dd5450dbe970
* Fix credentials cache handling..Theodore Tso1993-12-241-10/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3268 dc483132-0cff-0310-8789-dd5450dbe970
* Free memory on errorTheodore Tso1993-12-241-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3267 dc483132-0cff-0310-8789-dd5450dbe970
* Added function which does V4/V5 compatibility for sendauth/recvauthTheodore Tso1993-12-152-0/+325
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3181 dc483132-0cff-0310-8789-dd5450dbe970
* Added flags argument to krb5_recvauth(), and added support for flags whichTheodore Tso1993-12-011-17/+15
| | | | | | | ignore the version string (for use with an automatically selected V4/V5 mechanism.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3060 dc483132-0cff-0310-8789-dd5450dbe970
* Declare statically used procedure (previously and incorrectly defined in .hTheodore Tso1993-12-012-1/+9
| | | | | | files) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3059 dc483132-0cff-0310-8789-dd5450dbe970
* Free cred->server before overwriting itTheodore Tso1993-12-011-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3058 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typo in copy_addrs; a set of curly braces was missingTheodore Tso1993-12-011-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3057 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure memory is freed in error casesTheodore Tso1993-10-301-62/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2715 dc483132-0cff-0310-8789-dd5450dbe970
* Change so that mk_req_ext won't accidentally free caller's client andTheodore Tso1993-10-301-8/+7
| | | | | | checksum arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2714 dc483132-0cff-0310-8789-dd5450dbe970
* Change code to produce \b, \n, and \tTheodore Tso1993-10-301-22/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2713 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing free calls in case of an errorTheodore Tso1993-10-301-7/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2712 dc483132-0cff-0310-8789-dd5450dbe970
* Remove register from argument declaration. Confuses saber..Theodore Tso1993-10-301-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2711 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-1534-122/+122
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2670 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed memory leak reported by marc; mk_req_ext wasn't free the authenticatorTheodore Tso1993-10-151-10/+13
| | | | | | structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2669 dc483132-0cff-0310-8789-dd5450dbe970
* Post decrement should have been predecrement; fixed fencepost errorTheodore Tso1993-09-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2649 dc483132-0cff-0310-8789-dd5450dbe970
* Changed krb5_generate_authenticator to accept a princiapl instead ofTheodore Tso1993-09-011-4/+4
| | | | | | a credentials structure for the second argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2641 dc483132-0cff-0310-8789-dd5450dbe970
* Modifications supplied by Ari Medvinsky to include the authorizationTheodore Tso1993-09-012-9/+19
| | | | | | data field in the authenticator. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2639 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-0159-118/+118
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Cleaned up TGTNAME define; now KRB5_TGS_NAMETheodore Tso1993-08-171-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2632 dc483132-0cff-0310-8789-dd5450dbe970
* Library directory reorganization; there are now crypto and krb5 directories,Theodore Tso1993-08-041-1/+1
| | | | | | | | for the libcrypto.a and libkrb5.a files, respectively. The directories which contained files making up those libraries have been moved under those directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2628 dc483132-0cff-0310-8789-dd5450dbe970
* Make sendauth() work if the passed-in checksum pointer is NULLTheodore Tso1993-06-031-10/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2557 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure authorization data in the TGS_REQ is initialized correctlyTheodore Tso1993-06-031-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2556 dc483132-0cff-0310-8789-dd5450dbe970
* Fix so that recvauth will work even if a null cachename is passed inTheodore Tso1993-06-031-11/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2555 dc483132-0cff-0310-8789-dd5450dbe970
* Only generate a key if it's necessaryTheodore Tso1993-06-031-5/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2554 dc483132-0cff-0310-8789-dd5450dbe970
* Patches to get user-to-user credentials to work correctlyTheodore Tso1993-06-031-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2553 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug where an allocated structure was used before it was checked toTheodore Tso1993-06-031-2/+2
| | | | | | see if it were null. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2552 dc483132-0cff-0310-8789-dd5450dbe970
* Revamped to handle conversion both back and forth between V4 and V5 namesTheodore Tso1993-06-031-43/+147
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2551 dc483132-0cff-0310-8789-dd5450dbe970
* Merged in sandia's new secuireid codeTheodore Tso1993-02-261-51/+103
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2514 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed so that if the passed in addresses is NULL, default to using localTheodore Tso1993-02-261-1/+4
| | | | | | host address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2512 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed stupid typoTheodore Tso1993-02-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2511 dc483132-0cff-0310-8789-dd5450dbe970
* Work around code where malloc(0) returns 0Theodore Tso1993-02-261-6/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2510 dc483132-0cff-0310-8789-dd5450dbe970
* The authdata field of the credential wasn't being copied. FixedTheodore Tso1993-02-261-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2509 dc483132-0cff-0310-8789-dd5450dbe970
* Do the right thing if the passed auth data is nullTheodore Tso1993-02-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2508 dc483132-0cff-0310-8789-dd5450dbe970
* In krb5_copy_addresses(), do the right thing if the passed address is NULL.Theodore Tso1993-02-261-2/+8
| | | | | | Lint cleanup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2507 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed copy_checksum.c to copy_cksum.c, to avoid 14 char length problemsTheodore Tso1993-02-261-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2505 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Theodore Tso1992-09-301-0/+460
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2449 dc483132-0cff-0310-8789-dd5450dbe970
* Added check of the receiver's address (if present)Theodore Tso1992-09-292-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2417 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to support new calling sequence for get_in_tkt (preauthenticationTheodore Tso1992-09-292-11/+18
| | | | | | and KDC reply changes) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2416 dc483132-0cff-0310-8789-dd5450dbe970