summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * fcc-proto.h, fcc_reslv.c (krb5_fcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10193 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c: (krb5_ktkdb_get_entry): Incoming principal is constEzra Peisach1997-09-156-9/+25
| | | | | | | | | | | | | | | | * kdb_dbm.c (krb5_dbm_db_get_principal, krb5_dbm_db_delete_principal): Incoming principal is const. * kdb_xdr.c (krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey): Incoming principal is const. * kdb_db2.h (krb5_db2_db_get_principal): Change prototype to const principal. * kdb_db2.c (krb5_db2_db_get_principal, krb5_db2_db_delete_principal): The search for principal is const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10192 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): Fix swapped args to memsetTom Yu1997-09-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10188 dc483132-0cff-0310-8789-dd5450dbe970
* * decomp_tkt.c (decomp_ticket): Fix swapped args to memsetTom Yu1997-09-022-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10187 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): Move nulling out ofTom Yu1997-08-292-1/+7
| | | | | | | request.padata before the os_localaddr call in order to avoid freeing a null pointer in the cleanup code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10186 dc483132-0cff-0310-8789-dd5450dbe970
* * gmt_mktime.c (days_in_month): Now const.Ezra Peisach1997-08-172-1/+6
| | | | | | Originally by raeburn@cygnus.com from the Kerbnet release git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10179 dc483132-0cff-0310-8789-dd5450dbe970
* * util_token.c (g_verify_token_header): Change local char *Ezra Peisach1997-08-172-1/+6
| | | | | | variable to unsigned char * to match usage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10178 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from the Kerbnet release by CygnusEzra Peisach1997-08-143-19/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | * asn1buf.h (asn1buf_remove_octet, asn1buf_size, asn1buf_free, asn1buf_ensure_space, asn1buf_len): Add macro versions. (asn1buf_insert_octet) [__GNUC__ >= 2]: Ditto, using a GNU C extension. * asn1buf.c (asn1buf_remove_octet, asn1buf_size, asn1buf_free, asn1buf_ensure_space, asn1buf_len, asn1buf_insert_octet): Undef macros before defining as functions. [Kerbnet changes made by raeburn@cygnus.com] * asn1buf.h (asn1buf_expand): Remove "const" from int arg in prototype. * asn1buf.c (asn1buf_remove_charstring, asn1buf_create, asn1buf_remove_octetstring, asn12krb5_buf): Call malloc instead of calloc. (asn1buf_unparse, asn1buf_hex_unparse): Ditto. Also don't allocate extra byte, since sizeof(STRING) does count the trailing null. (asn1buf_expand): Adjust bound based on increment value used, not value specified by caller. [Kerbnet changes made by raeburn@cygnus.com] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10174 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (krb5_init_context): Initialize local variable ctxEzra Peisach1997-08-122-1/+6
| | | | | | | | before calling krb5_init_ets. This keeps purify happy as we are not using a variable before setting it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10172 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OSSRCS): Add $(srcdir)/ to source locationEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10171 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10170 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): Check remote_addr andTom Yu1997-08-082-1/+7
| | | | | | | encpart.s_address before calling krb5_address_compare. Fixes krb5-libs/456. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10166 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c: Check to see if context is NULL prior to callingTom Yu1997-08-072-12/+20
| | | | | | profile_get_values. Fixes krb5-libs/317. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10164 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add flags to conditionally compile with HesiodTom Yu1997-08-073-2/+90
| | | | | | | * server_misc.c: Add support for checking GECOS field of Hesiod passwd entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10160 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, krb5.rc, version.rc: Add support for adding a WindowsTheodore Tso1997-08-053-14/+36
| | | | | | Version resource to all of the DLL files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10153 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c (krb5_db2_db_delete_principal): Fix switch statementEzra Peisach1997-07-312-0/+6
| | | | | | so that all cases have one statement. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10150 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add / after $(srcdir) in SRCS lineEzra Peisach1997-07-312-10/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10149 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Remove msvcrt.lib from the explicit WINLIBS link lineTheodore Tso1997-07-305-3/+17
| | | | | | | | | | | since we're now using /MD and have removed the /nodefaultlibs switch. For now, build debug versions of the libraries. krb5_16.def, krb5_32.def, sapkrb16.def: Add decode_krb5_ap_req to the exported functions list, since the GSSAPI krb5 mechanism routine needs access to this internal routine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10143 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the new OID value for host-based service nameTheodore Tso1997-07-303-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10142 dc483132-0cff-0310-8789-dd5450dbe970
* inq_names.c (krb5_gss_inquire_names_for_mech): Add the the new OIDTheodore Tso1997-07-303-1/+20
| | | | | | | | | | value for the host-based service name and the exported name OID to the list of OID's supported by this mechanism. import_name.c (krb5_gss_import_name): Add support for the new OID value for the host-based service name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10141 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c (krb5_db2_db_set_hashfirst): Don't cast aTom Yu1997-07-292-1/+6
| | | | | | krb5_context * to a krb5_db2_context *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10140 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c: Fix typo; also, tweak page size in attempt to speedTom Yu1997-07-263-5/+8
| | | | | | | | things up. * kdb_db2.h: Fix typo. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10137 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove test-randkey since it was breaking theTom Yu1997-07-252-1/+7
| | | | | | | server-side tests; api.2/getprinc-v2.exp wants *two* keys, while randkey results in only one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10132 dc483132-0cff-0310-8789-dd5450dbe970
* * server_init.c: Change a few calls to align with the new kdbTom Yu1997-07-253-3/+10
| | | | | | | | API. * Makefile.in: Bump version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10131 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c: Reflect changes in the API, mostly db_createTom Yu1997-07-257-60/+1545
| | | | | | | | | | | | | | * Makefile.in: Bump version due to major reworking. * kdb_db2.h: * kdb_db2.c: Add Berkely DB backend. * keytab.c: Add support for new kdb API; delete dead arguments. * kdb_xdr.c: Remove dependencies on dbm; encode things to krb5_datas rather than datums. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10130 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c: Add support for changed kdb APITom Yu1997-07-252-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10129 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_err.et: Add error code for bad creation flagsTom Yu1997-07-252-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10128 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Bump version due to et changesTom Yu1997-07-252-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10127 dc483132-0cff-0310-8789-dd5450dbe970