summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* * krb5_err.et: Add codes for Cygnus chpwTom Yu1997-12-062-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10320 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add cccopy.cTom Yu1997-12-063-0/+65
| | | | | | * cccopy.c: New file; krb5_cc_copy_creds from Cygnus. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10319 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_PROG_LN_S to deal with symlinking inTom Yu1997-11-292-0/+7
| | | | | | | memmove.c. This is a kludge, as we really should have a more sane way to deal with missing posix functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10309 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (types.h): Add rules to generate file by runningEzra Peisach1997-11-212-0/+19
| | | | | | config.status. Remove on make clean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10306 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): krb_err.h resides in the kerberosIVEzra Peisach1997-11-212-1/+6
| | | | | | subdir for make clean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10305 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean): Remove server-setkey-testEzra Peisach1997-11-192-0/+6
| | | | | | client-setkey-test setkey-test.o git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10300 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Do not remove libraries here as theEzra Peisach1997-11-192-1/+6
| | | | | | Makefile that created the symlink now removes it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10297 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_safe.c (krb_rd_safe): Fix up call to quad_cksumTom Yu1997-11-196-5/+20
| | | | | | | | | | | | * mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt. * mk_safe.c (krb_mk_safe): Fix up call to quad_cksum. * mk_req.c (krb_mk_req): Fix up call to pcbc_encrypt. * rd_req.c (krb_rd_req): Fix up call to pcbc_encrypt. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10295 dc483132-0cff-0310-8789-dd5450dbe970
* * quad_cksum.c (des_quad_cksum): Reorder parameters to match theTom Yu1997-11-193-3/+9
| | | | | | | | | prototype in include/kerberosIV/des.h. * pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the ivec to match the prototype in include/kerberosIV/des.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10294 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use new library build rulesTom Yu1997-11-193-29/+17
| | | | | | * Makefile.in: Use new library build rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10293 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Garbage collect some old library build systemTom Yu1997-11-183-16/+5
| | | | | | stuff. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10289 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context),Theodore Tso1997-11-167-12/+99
| | | | | | | | | | | | | | | | init_sec_context.c (krb5_gss_init_sec_context), inq_cred.c (krb5_gss_inquire_cred): Call krb5_gss_validate_cred to make sure the credential handle is still valid. * val_cred.c (krb5_gss_validate_cred): New file which validates the credential to make sure it is valid, including checking to make sure the credentials cache still points at the same krb5 principal as it did before. * accept_sec_context.c (krb5_gss_accept_sec_context): Return GSS_S_FAILURE if a non-NULL context handle is passed to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10285 dc483132-0cff-0310-8789-dd5450dbe970
* (Wrong version of Changelog committed previously)Theodore Tso1997-11-161-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10284 dc483132-0cff-0310-8789-dd5450dbe970
* Return GSS_S_FAILURE if a non-NULL context handle is passed to itTheodore Tso1997-11-162-3/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10283 dc483132-0cff-0310-8789-dd5450dbe970
* scc_maybe.c: Added kludge for the Macintosh, since fopen() doesn't setTheodore Tso1997-11-112-2/+47
| | | | | | errno, although open() does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10272 dc483132-0cff-0310-8789-dd5450dbe970
* send_tgs.c (krb5_send_tgs): Don't send a zero endtime; if theTheodore Tso1997-11-112-1/+7
| | | | | | requested endtime is zero, set it equal to the TGT endtime. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10271 dc483132-0cff-0310-8789-dd5450dbe970
* * md5.c: Fix to deal with types longer than 32 bitsTom Yu1997-10-284-2/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10259 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.c, sha_glue.c, hmac_sha.c: Fix to deal with LONG wider thanTom Yu1997-10-285-74/+183
| | | | | | | | 32 bits. * t_shs.c: Print out the actual and expected values on error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10258 dc483132-0cff-0310-8789-dd5450dbe970
* * ktf_wreslv.c, ktf_resolv.c:Initialize version element ofEzra Peisach1997-10-283-0/+7
| | | | | | krb5_ktfile_data structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10255 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_cpw.c (add_key_pwd): For KRB5_KDB_SALTTYPE_AFS3, the saltEzra Peisach1997-10-282-0/+19
| | | | | | key for afs_mit_string_to_key mut be null terminated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10254 dc483132-0cff-0310-8789-dd5450dbe970
* * pcbc_encrypt.c, quad_cksum.c: Punt duplicates of definitions;Tom Yu1997-10-274-82/+26
| | | | | | | | | | use local des.h only, as that appears to be safe. Also, replace uses of KRB_INT32 with DES_INT32 to remove temptation to misuse. * des.h: Don't include k5-int.h any longer, as des_int.h already gets it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10253 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_cbc.c, des.h, des_int.h, f_cbc.c, f_cksum.c, f_ecb.c,Tom Yu1997-10-2713-102/+103
| | | | | | | | | | | f_pcbc.c, f_sched.c, f_tables.c, f_tables.h: Change KRB_INT32 to DES_INT32 to avoid temptation to misuse. * d3_cbc.c, d3_ecb.c, f_cbc.c, f_cksum.c, f_ecb.c, f_parity.c, f_pcbc.c, f_sched.c, f_tables.c: Don't include des.h; it's broken in ways. Use only des_int.h instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10252 dc483132-0cff-0310-8789-dd5450dbe970
* * mac_time.c: Don't use the type KRB_INT32; it was leaked fromTom Yu1997-10-272-2/+10
| | | | | | | | des.h and was just the wrong answer. Use long instead. While we're at it, declare gettimeofdaynet_no_offset() as static because we have no real need to export it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10250 dc483132-0cff-0310-8789-dd5450dbe970
* Add checks so that code doesn't bomb out if the version resource isTheodore Tso1997-10-222-0/+14
| | | | | | missing a Title or Version record. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10242 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to not lose entries in the chain linked client listEzra Peisach1997-10-212-1/+16
| | | | | | | | | A pointer was not being updated resulting in the situation where random clients would sudenly fail with a misc. rpc. error as the client handle could not be found. The scenario required three active clients to trigger the problem. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10241 dc483132-0cff-0310-8789-dd5450dbe970
* Set KRB5_CONFIG for testsEzra Peisach1997-10-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10240 dc483132-0cff-0310-8789-dd5450dbe970
* Include stdlib.h if available for malloc prototypeEzra Peisach1997-10-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10238 dc483132-0cff-0310-8789-dd5450dbe970
* Real fix this time - deals with the malloc(0) case..Ezra Peisach1997-10-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10232 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMAJOR): Bump major version due to possibleTom Yu1997-10-142-1/+6
| | | | | | change in type sizes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10231 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Bump major version due to possible size changesTom Yu1997-10-142-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10229 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: Use better logic to find an appropriate type forTom Yu1997-10-143-7/+42
| | | | | | | | | | | KRB_INT32; also don't assume that a key schedule element is exactly 64 bits wide... use instead 2 * KRB_INT32, since that is what the code uses internally. * des.h: Use better logic to find an appropriate type for KRB_INT32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10228 dc483132-0cff-0310-8789-dd5450dbe970
* Fix error when number of enctypes comming in is 0Ezra Peisach1997-10-141-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10227 dc483132-0cff-0310-8789-dd5450dbe970
* * server_init.c (kadm5_destroy): Call kadm5_free_config_paramsEzra Peisach1997-10-133-1/+12
| | | | | | | | * server_acl.c: Include <ctype.h> for tolower(). (acl_load_acl_file): Close acl file, even when acl_catchall_entry is not set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10226 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c (kadm5_destroy): Free handle->lhandle field, callEzra Peisach1997-10-132-2/+12
| | | | | | kadm5_free_config_params and krb5_free_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10225 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): When KADM5_CONFIG_ENCTYPESEzra Peisach1997-10-132-3/+36
| | | | | | | | | is set on the input parameters, allocate a new copy of the key_salts for the output parameters. (kadm5_free_config_params): Free the admin_server and admin_lockfile names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10224 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c (do_testing): Add krb5_free_contextEzra Peisach1997-10-132-0/+7
| | | | | | This makes it easier for purify testing for memory leaks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10223 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: Add test to disable udp test underTom Yu1997-10-103-2/+19
| | | | | | | Solaris 2.0 thru 2.5; a getsockname() bug prevents channel bindings from working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10221 dc483132-0cff-0310-8789-dd5450dbe970
* * get_myaddress.c: Include string.h for memcpy prototypeEzra Peisach1997-10-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10214 dc483132-0cff-0310-8789-dd5450dbe970
* Include ctype.h for isspace declarationEzra Peisach1997-10-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10210 dc483132-0cff-0310-8789-dd5450dbe970
* * set_realm.c (krb5_set_principal_realm): Allocate extra byte for nul inEzra Peisach1997-10-062-1/+6
| | | | | | strcpy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10208 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (main): Call krb5_free_context when doneEzra Peisach1997-10-062-0/+7
| | | | | | Purify cleanup... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10207 dc483132-0cff-0310-8789-dd5450dbe970
* * destest.c (main): Initialize context to 0 so it will not beEzra Peisach1997-10-063-0/+16
| | | | | | | | | | | treated as unset by purify. * t_verify.c (main): Use krb5_free_context to release memory in use. Essentially purify cleanups... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10206 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-0214-21/+45
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-2623-24/+73
| | | | | | | with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-198-5/+21
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* * ccdefname.c (krb5_cc_default_name): Returns a const char *Ezra Peisach1997-09-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10198 dc483132-0cff-0310-8789-dd5450dbe970
* * ktfile.h, ktf_g_ent.c (krb5_ktfile_get_entry): Incoming principalEzra Peisach1997-09-153-2/+7
| | | | | | is krb5_const_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10197 dc483132-0cff-0310-8789-dd5450dbe970
* * ccbase.c (krb5_cc_resolve): Incoming cache name is constEzra Peisach1997-09-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10196 dc483132-0cff-0310-8789-dd5450dbe970
* * mcc-proto.h, mcc_reslv.c (krb5_mcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10195 dc483132-0cff-0310-8789-dd5450dbe970
* * scc-proto.h, scc_reslv.c (krb5_scc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10194 dc483132-0cff-0310-8789-dd5450dbe970