summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* disable krb5-mech2 for now; from 1.1 branchKen Raeburn1999-09-012-23/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11773 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo's SendMessage->PostMessage change from 1.1 branchKen Raeburn1999-09-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11770 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
* new error code for multi-cryptosystem support, from 1.1 branchKen Raeburn1999-09-012-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11767 dc483132-0cff-0310-8789-dd5450dbe970
* Tom's cryptosystem alias entries from 1.1 branchKen Raeburn1999-09-013-0/+31
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11763 dc483132-0cff-0310-8789-dd5450dbe970
* memmove/bcopy fix from 1.1 branchKen Raeburn1999-09-012-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11762 dc483132-0cff-0310-8789-dd5450dbe970
* Use multiple addresses, if present, on Mac and WindowsDanilo Almeida1999-08-212-24/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11701 dc483132-0cff-0310-8789-dd5450dbe970
* * etypes.c: Update des3-cbc-sha1 to alignt with new numberTom Yu1999-08-183-4/+12
| | | | | | | | | assignments. * cksumtypes.c: Update hmac-sha1-des3 to align with new number assignments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11684 dc483132-0cff-0310-8789-dd5450dbe970
* Initializes some variables so that they do not end up in the common blockBrad Thompson1999-08-131-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11655 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize __krb_sendauth_hidden_tkt_len so it doesn't end up in theBrad Thompson1999-08-131-1/+1
| | | | | | common block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11654 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize swap_bytes so that it doesn't end up in the common blockBrad Thompson1999-08-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11653 dc483132-0cff-0310-8789-dd5450dbe970
* chpw.c (krb5_mk_chpw_req):Alexandra Ellwood1999-08-101-5/+14
| | | | | | | | Added call to free cipherpw.data. cipherpw.data is allocated by krb5_mk_priv and passed back. Since cipherpw is never passed back, krb5_mk_chpw_req should free it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11648 dc483132-0cff-0310-8789-dd5450dbe970
* 1999-08-10 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood1999-08-101-0/+7
| | | | | | | | | * chpw.c (krb5_mk_chpw_req): Added call to free cipherpw.data. cipherpw.data is allocated by krb5_mk_priv and passed back. Since cipherpw is never passed back, krb5_mk_chpw_req should free it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11647 dc483132-0cff-0310-8789-dd5450dbe970
* (krb5_change_password):Alexandra Ellwood1999-08-101-248/+284
| | | | | | | | Reorganized code so that krb5_change_password actually frees everything it allocated on error. Also fixed some memory leaks which happened even without an error occurring. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11646 dc483132-0cff-0310-8789-dd5450dbe970
* 1999-08-10 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood1999-08-101-0/+7
| | | | | | | | | * changepw.c (krb5_change_password): Reorganized code so that krb5_change_password actually frees everything it allocated on error. Also fixed some memory leaks which happened even without an error occurring. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11645 dc483132-0cff-0310-8789-dd5450dbe970
* Provide Win32 implementation so that kinit and such work under Win32Danilo Almeida1999-08-092-3/+104
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11635 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure we have FQDN in the case where we use gethostnameDanilo Almeida1999-08-093-6/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11634 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c (krb5_get_default_realm): Check that we haveDanilo Almeida1999-08-062-1/+5
| | | | | | | a realm before trying to copy it (since profile_get_string may return no error but not get anything). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11629 dc483132-0cff-0310-8789-dd5450dbe970
* Fix calling convention for krb5_get_profileDanilo Almeida1999-08-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11628 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (test_get_krbhst): Use krb5_free_krbhst toDanilo Almeida1999-08-0511-92/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free buffers allocated by krb5_get_krbhst. * locate_kdc.c (_krb5_use_dns): Add _krb_use_dns to abstract away looking up of whether we use DNS or not in the profile. * ktdefname.c (krb5_kt_default_name): Use profile_release_string instead of free to free string allocated by profile_get_string. * get_krbhst.c (krb5_get_krbhst): Copy results from profile_get_values into malloc'ed buffers so we can safely free them later. Also call profile_free_list on the original values. * locate_kdc.c (krb5_locate_kdc): * hst_realm.c (krb5_get_host_realm): * def_realm.c (krb5_get_default_realm): Use _krb5_use_dns to figure out whether to use DNS or not instead of directly reading the profile in this routine. * realm_dom.c (krb5_get_realm_domain): * hst_realm.c (krb5_get_host_realm): * def_realm.c (krb5_get_default_realm): Copy results of profile_get_string into malloc'ed buffer so it can safely be free'd later. * locate_kdc.c (krb5_locate_srv_conf): * def_realm.c (krb5_get_default_realm): * changepw.c (krb5_change_password): * an_to_ln.c (krb5_aname_to_localname): Use profile_free_list to free values allocated by profile_get_values. * init_os_ctx.c (os_init_paths): Wrap use of ctx->profile_in_memory with KRB5_DNS_LOOKUP. Use pointer value to determine whether to free files by checking the files value rather than depending on the return value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11626 dc483132-0cff-0310-8789-dd5450dbe970
* Document why krb5_win_ccdll_load is called way early in code.Danilo Almeida1999-08-052-3/+14
| | | | | | | | (It is because we need to have the ccapi stuff loaded before trying to get the OS-specific context initialization where we figure out default cache names and such.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11625 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (get_profile_etype_list): Use profile_release_stringDanilo Almeida1999-08-054-18/+34
| | | | | | | | | | | | | | | | to free string allocated by profile_get_string. (krb5_init_context): Use a real context for krb5_win_ccdll_load. * get_in_tkt.c (krb5_appdefault_string): * conv_princ.c (krb5_425_conv_principal): Use profile_free_list to free values allocated by profile_get_values. * get_in_tkt.c (_krb5_conf_boolean, krb5_appdefault_boolean): Rename krb5_conf_boolean to _krb5_conf_boolean to denote that it is not public so that folks outside the libraries won't be tempted to use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11624 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
* Intialize out_creds pointer to 0 and then check whether it is 0 beforeDanilo Almeida1999-08-042-4/+12
| | | | | | | trying to dereference it, in case lower-level routine failed to assign a value to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11619 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
* nuke some ancient isode remnantsKen Raeburn1999-07-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11610 dc483132-0cff-0310-8789-dd5450dbe970
* GetMacProfileFileSpec: fined bogus string conversionMiro Jurisic1999-07-272-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11608 dc483132-0cff-0310-8789-dd5450dbe970
* merged changes from the Mac_V2_0_derivatives branch and added krb5_get_profileMiro Jurisic1999-07-261-1/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11598 dc483132-0cff-0310-8789-dd5450dbe970
* c_ustime.c, init_os_ctx.c: merged changes from the Mac_V2_0_derivatives branchMiro Jurisic1999-07-261-0/+11
| | | | | | init_os_ctx.x: added krb5_get_profile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11597 dc483132-0cff-0310-8789-dd5450dbe970
* Merged from Mac_V2_0_derivatives branchMiro Jurisic1999-07-261-11/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11596 dc483132-0cff-0310-8789-dd5450dbe970
* Updating ChangeLogJeffrey Altman1999-07-231-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11594 dc483132-0cff-0310-8789-dd5450dbe970
* Updating changelogJeffrey Altman1999-07-231-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11593 dc483132-0cff-0310-8789-dd5450dbe970
* Update changelogJeffrey Altman1999-07-231-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11592 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile support for libdefaults dns_fallbackJeffrey Altman1999-07-231-38/+55
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11589 dc483132-0cff-0310-8789-dd5450dbe970
* Updated Windows section to use filespecs instead of filenamesJeffrey Altman1999-07-231-9/+22
| | | | | | Add support for storing the existence of a memory profile in the krb5_context git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11588 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile support for libdefaults dns_fallbackJeffrey Altman1999-07-232-36/+70
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11586 dc483132-0cff-0310-8789-dd5450dbe970
* Rename conf_boolean to krb5_conf_boolean and remove the static designationJeffrey Altman1999-07-231-3/+4
| | | | | | so that the function may be used in other modules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11585 dc483132-0cff-0310-8789-dd5450dbe970
* Additional exports which are used by Kermit for Server Side Telnet ↵Jeffrey Altman1999-07-231-1/+8
| | | | | | authentication git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11583 dc483132-0cff-0310-8789-dd5450dbe970
* more fixes for meeroh's patchKen Raeburn1999-07-222-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11573 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (os_get_default_config_files): Fix some typos and missed nameKen Raeburn1999-07-212-11/+18
| | | | | | | changes in the patch Miro just checked in but forgot to mention here, in which Mac filespecs are used instead of filenames. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11572 dc483132-0cff-0310-8789-dd5450dbe970
* Use Mac files specifiers for config files on MacOSMiro Jurisic1999-07-211-79/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11567 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode.c (asn1_decode_integer): Fix to deal with overflowsTom Yu1999-07-112-8/+30
| | | | | | | | and negative integers. (asn1_decode_unsigned_integer): Fix to deal with overflows and to return errors on encountering negative integers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11558 dc483132-0cff-0310-8789-dd5450dbe970
* * KRB5-asn.py (PA-SAM-RESPONSE): Fix syntax error -- comma separating sequenceKen Raeburn1999-07-062-4/+10
| | | | | | components doesn't belong buried in a comment. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11545 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn1buf_sync): Add length parameter to disambiguateTom Yu1999-07-045-7/+21
| | | | | | | | | | | | | | | constructed-indefinite encoding from constructed-definite encoding which happens to end at the same place as the enclosing buf. * asn1buf.h: Update to match definition. * krb5_decode.c (end_structure): Update to deal with additional length parameter to asn1buf_sync(). * asn1_k_decode.c (end_sequence_of, end_structure): Update to deal with additional length parameter to asn1buf_sync(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11542 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h: New prototpyes for asn1buf_sync() andTom Yu1999-07-035-10/+71
| | | | | | | | | | | | | | | | | | | asn1buf_skiptail(). * asn1buf.c (asn1buf_sync): Fix to deal with constructed-indefinite encodings with trailing fields. As a result, this requires that the most recently read tag number be passed in. (asn1buf_skiptail): New helper function to skip trailing fields in a constructed-indefinite encoding. * krb5_decode.c (end_structure): Hack to deal with changed asn1buf_sync(). * asn1_k_decode.c (end_structure, end_sequence_of): Hack to deal with changed asn1buf_sync(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11541 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn1buf_sync): Interim fix for DCE compat problemTom Yu1999-07-012-1/+14
| | | | | | with indefinite length encodings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11540 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix jaltman's changes so they don't break the unixTom Yu1999-07-012-6/+11
| | | | | | build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11539 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Kerberos admin service name isKen Raeburn1999-06-302-1/+7
| | | | | | "kerberos-adm", not "kadmin", so look up "_kerberos-adm._tcp" in DNS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11537 dc483132-0cff-0310-8789-dd5450dbe970