summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Removal of ISODE (and there was much rejoicing)Theodore Tso1995-02-0260-5960/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4876 dc483132-0cff-0310-8789-dd5450dbe970
* * int-proto.h Update prototypes for krb5_get_cred_via_tgt(), andChris Provenzano1995-02-0210-62/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | krb5_get_cred_via_2tgt(). * get_fcreds.c (krb5_get_for_creds()) * gc_via_tgt.c (krb5_get_cred_via_tgt()) * gc_2tgt.c (krb5_get_cred_via_2tgt()) Removed krb5_enctype argument. Pass NULL list of encryption types to krb5_send_tgs to get default encryption types. * gc_frm_kdc.c Removed krb5_enctype argument passed to krb5_get_cred_via_tgt() * send_tgs.c (krb5_send_tgs()) Changed krb5_enctype arg to krb5_enctype *, a NULL terminated array of encryption types. If argument is NULL then krb5_send_tgs() will use defaul list of encryption types. * send_tgs.c (krb5_send_tgs()) To encrypt request ticket use usecred->keyblock.etype instead of (and now defunct) krb5_enctype arg. * init_ctx.c Added krb5_set_default_in_tkt_etypes() and krb5_get_default_in_tkt_etypes(). * rd_req.c, rd_req_decode.c Removed typedef for rdreq_key_proc and use krb5_rd_req_decoded in its place. * get_fcreds.c Really needs #include<krb5/asn1.h> for definition of krb5_is_krb_error() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4875 dc483132-0cff-0310-8789-dd5450dbe970
* in_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())Chris Provenzano1995-01-284-5/+21
| | | | | | | | use new API for krb5_kt_get_entry. get_fcreds.c Removed #include<krb5/crc-32.h> and #include<krb5/asn1.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4868 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_keytype arg to krb5_ktfile_get_entry()Chris Provenzano1995-01-283-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4867 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_keytype arg to krb5_kt_read_service_key()Chris Provenzano1995-01-282-14/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4866 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_keytype arg to rd_req_keyproc()Chris Provenzano1995-01-282-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4865 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatypeChris Provenzano1995-01-272-1/+9
| | | | | | | | | is of type unsigned int and therefore shouldn't be the argument to krb5_scc_read_ui_2(). Fixes bug reported by Ezra (discuss message 1053) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4860 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatypeChris Provenzano1995-01-272-1/+9
| | | | | | | | | is of type unsigned int and therefore shouldn't be the argument to krb5_fcc_read_ui_2(). Fixes bug reported by Ezra (discuss message 1053) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4859 dc483132-0cff-0310-8789-dd5450dbe970
* * rnd_confoun.c: Replace <.../...> includes with "..."sJohn Gilmore1995-01-262-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4852 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Use -I../des to pull in include file.John Gilmore1995-01-266-13/+14
| | | | | | | * md5.c, md5crypto.c, md5glue.c, t_mddriver.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4850 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Add -I../des to pull in DES header file.John Gilmore1995-01-267-20/+120
| | | | | | | | | * rsa-md4.h: New include file, moved from include/krb5, since it's only used locally. * md4.c, md4crypto.c, md4driver.c, md4glue.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4849 dc483132-0cff-0310-8789-dd5450dbe970
* * cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,John Gilmore1995-01-2616-69/+27
| | | | | | | | fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c, new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c, weak_key.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4848 dc483132-0cff-0310-8789-dd5450dbe970
* * crc-32.h: New file, moved from include/krb5/crc-32.h.John Gilmore1995-01-264-6/+44
| | | | | | * crc.c, crctest.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4847 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Add -I options to pick up include filesJohn Gilmore1995-01-266-34/+24
| | | | | | | | from the various algorithm subdirs. * cryptoconf.c, des-crc.c, des-md5.c, raw-des.c: Replace most <.../...> include files with "..." includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4846 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-2511-31/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-253-14/+22
| | | | | | | * ktf_util.c : Use a constant size for file data not subfield size from krb5_keytab_entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4836 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (acquire_accept_cred): Add context arg whenJohn Gilmore1995-01-232-1/+6
| | | | | | calling krb5_sname_to_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4834 dc483132-0cff-0310-8789-dd5450dbe970
* * get_krbhst.c (krb5_get_krbhst): Declare realm argument const,John Gilmore1995-01-232-1/+6
| | | | | | to match prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4833 dc483132-0cff-0310-8789-dd5450dbe970
* Fix use of connected sockets; previously krb5_sendto_kdc only used oneTheodore Tso1995-01-192-29/+45
| | | | | | | socket per address family. This doesn't work; it now uses one socket per address. (krb5-bugs #938) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4831 dc483132-0cff-0310-8789-dd5450dbe970
* Make global_context a static variable and initialize it automaticallyTheodore Tso1995-01-192-0/+14
| | | | | | if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4825 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bugs in introduction of context variables; if the global context isTheodore Tso1995-01-1910-17/+80
| | | | | | | | not initialized, initialize it automatically. Initialize the connection context's krb5_context varaible in init_security_context and accept_security_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4824 dc483132-0cff-0310-8789-dd5450dbe970
* Oops in previous memory freeing fixes; was a bit too agressive freeing thingsTheodore Tso1995-01-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4823 dc483132-0cff-0310-8789-dd5450dbe970
* it belongs here insteadMark Eichin1995-01-181-0/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4821 dc483132-0cff-0310-8789-dd5450dbe970
* Acually move init_ctx.c to init_os_ctx.c in the CVS repository and alsoChris Provenzano1995-01-132-1/+7
| | | | | | rename the routine krb5_free_os_context() to krb5_os_free_context(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4817 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-137-150/+228
| | | | | | Added krb5_context to all krb5_routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4812 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1330-129/+163
| | | | | | | | | Added krb5_context to all krb5_routines. Moved init_ctx.c to init_os_ctx.c because a library cannot have more than on file with the same name. See krb5/krb/init_ctx.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4811 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-13153-1658/+1982
| | | | | | Added krb5_context to all krb5_routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4810 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARGChris Provenzano1995-01-1336-1017/+825
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1341-604/+717
| | | | | | Added krb5_context to all krb5_routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoMark Eichin1995-01-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4807 dc483132-0cff-0310-8789-dd5450dbe970
* gss_display_name() should return a name type OID, not a mechanism OIDTheodore Tso1995-01-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4799 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in:Theodore Tso1994-12-225-1/+130
| | | | | | | | | strcasecmp.c: Add strcasecmp replacement if necessary. daemon.c: memmove.c: Add #include for <sys/types.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4748 dc483132-0cff-0310-8789-dd5450dbe970
* Add test for uid_tTheodore Tso1994-12-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4747 dc483132-0cff-0310-8789-dd5450dbe970
* Change the type of krb5_context to include the pointerTheodore Tso1994-12-222-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746 dc483132-0cff-0310-8789-dd5450dbe970
* New function which support krb5_init_os_context and krb5_free_os_contextTheodore Tso1994-12-201-0/+65
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4744 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for krb5_init_os_context and krb5_free_os_contextTheodore Tso1994-12-202-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4743 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for krb5_init_context and krb5_free_contextTheodore Tso1994-12-203-0/+71
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4742 dc483132-0cff-0310-8789-dd5450dbe970
* Add new magic numbers for krb5_context and krb5_os_contextTheodore Tso1994-12-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4740 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed minor bug where the length of the returned domain was calculatedTheodore Tso1994-12-192-1/+6
| | | | | | incorrectly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4735 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_scc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4733 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_fcc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4732 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for HAS_SETSID test for daemon.cTheodore Tso1994-12-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4731 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (decrypt_authenticator): If the subkey doesn't exist,Theodore Tso1994-12-132-1/+7
| | | | | | don't try to set the subkey's etype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4729 dc483132-0cff-0310-8789-dd5450dbe970
* Set the principal's type and magic numberTheodore Tso1994-12-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4725 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Build the new test driver (t_walk_rtree.c) forTheodore Tso1994-12-015-1/+87
| | | | | | | | | | | | krb5_walk_realm_tree. walk_realm_tree.c (krb5_walk_realm_tree): Fix bug which occured when the client or the server is a subdomain of the other; walk_realm_tree would return the wrong answer, and suffer from memory access errors. unparse.c (krb5_unparse_name_ext): Quote the '/' and '@' characters properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4724 dc483132-0cff-0310-8789-dd5450dbe970
* Add appropriate help text for the --with-krb4 option. RemoveTheodore Tso1994-11-302-4/+6
| | | | | | ISODE_DEFS call, since ISODE_INCLUDES now defines ISODE automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4722 dc483132-0cff-0310-8789-dd5450dbe970
* Rename rd_cred and mk_cred to krb5_rd_cred and krb5_mk_cred. The APITheodore Tso1994-11-304-2/+239
| | | | | | | | | still needs to be changed, but let's get the namespace purity issue settled. Added krb5_get_for_creds() function. Again, the API is still up for grabs... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4716 dc483132-0cff-0310-8789-dd5450dbe970
* mk_req_ext.c (krb5_mk_req_extended): Sanitize how memory is freed inTheodore Tso1994-11-212-73/+65
| | | | | | | | | both error and normal cases, to remove memory leaks. mk_req_ext.c (krb5_mk_req_extended): Use the encryption type specified by the ticket to generate the authenticator. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4711 dc483132-0cff-0310-8789-dd5450dbe970
* encode_kdc.c (krb5_encode_kdc_rep): Now requires that theTheodore Tso1994-11-214-27/+40
| | | | | | | | | | | | | caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. encrypt_tk.c (krb5_encrypt_tkt_part): Now requires that the caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4710 dc483132-0cff-0310-8789-dd5450dbe970
* Fix obvious typoTheodore Tso1994-11-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4705 dc483132-0cff-0310-8789-dd5450dbe970