summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new test modulesPaul Park1995-05-164-0/+1193
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5820 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in krb5_adm_ktent_to_proto() which botched integersPaul Park1995-05-161-16/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5819 dc483132-0cff-0310-8789-dd5450dbe970
* Fix nitty bug in gmt_mktime()Paul Park1995-05-162-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5818 dc483132-0cff-0310-8789-dd5450dbe970
* Missing a "retval = " so errors in addresses were passingEzra Peisach1995-05-122-1/+5
| | | | | | successfully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5803 dc483132-0cff-0310-8789-dd5450dbe970
* * key_sched.c (mit_des_key_sched): *always* fill in the schedule,Mark Eichin1995-05-122-2/+8
| | | | | | | regardless of the key failing other tests, as a defense against telnet-style bugs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5802 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),Chris Provenzano1995-05-117-12/+21
| | | | | | | | | * mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()), * rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()): Pass the contents pointer returned from krb5_make_fulladdr() to free() not the address of the pointer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5801 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inclusion of malloc.h. k5-int.h already handles declarations ofEzra Peisach1995-05-092-1/+6
| | | | | | malloc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5786 dc483132-0cff-0310-8789-dd5450dbe970
* Add new modulesPaul Park1995-05-091-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5770 dc483132-0cff-0310-8789-dd5450dbe970
* Add new modules to handle administrative protocol keyword=valuePaul Park1995-05-096-0/+1234
| | | | | | and keytab representations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5769 dc483132-0cff-0310-8789-dd5450dbe970
* Change to use profile information instead of assuming that thePaul Park1995-05-091-53/+189
| | | | | | | admin_server is always in the same location as the KDC. Also return correct return value from krb5_adm_connect(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5768 dc483132-0cff-0310-8789-dd5450dbe970
* Remove t_kerb and t_kerb.o on make cleanEzra Peisach1995-05-092-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5763 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add HAS_ANSI_VOLATILEEzra Peisach1995-05-093-4/+8
| | | | | | | read_pwd.c: Let autoconf decide if volatile doesn't exist. Assume exists for everyone else. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5761 dc483132-0cff-0310-8789-dd5450dbe970
* mk_faddr.c (krb5_make_fulladdr): Allocate enough memory forEzra Peisach1995-05-092-1/+4
| | | | | | raddr contents before copying over random memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5760 dc483132-0cff-0310-8789-dd5450dbe970
* Declare prompt and prompt2 as const char * so that callersEzra Peisach1995-05-092-2/+7
| | | | | | can safely use with same. (and not get a warning from gcc). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5759 dc483132-0cff-0310-8789-dd5450dbe970
* Add string.h if necessary to define strlen, etc.Ezra Peisach1995-05-0910-4/+42
| | | | | | | | | Add stdlib.h if present & necessary for malloc definition. (otherwise define ourselves) - based on other code present. Change ifdef POSIX to ifdef HAS_STDLIB_H Check for stdlib.h in configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5757 dc483132-0cff-0310-8789-dd5450dbe970
* Added $(DESTDIR) support to make install productionTheodore Tso1995-05-051-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5737 dc483132-0cff-0310-8789-dd5450dbe970
* Fix .Sanitize files to reflect new added filesTheodore Tso1995-05-055-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5736 dc483132-0cff-0310-8789-dd5450dbe970
* Fix spelling typoTheodore Tso1995-05-051-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5729 dc483132-0cff-0310-8789-dd5450dbe970
* conv_princ.c (krb5_425_conv_principal): Use new callingTheodore Tso1995-05-056-18/+193
| | | | | | | | | | | | | | | convention of krb5_get_realm_domain, which is that it returns the realm *without* the leading dot. Also use the profile code to look up individual instance conversions using [realms]/<realm>/v4_instance_convert/<inst> This allows special case handling of mit.edu and lithium.lcs.mit.edu. t_kerb.c: New file for testing krb library functions. Currently only tests krb5_425_conv_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5726 dc483132-0cff-0310-8789-dd5450dbe970
* Update Sanitize file to reflect file additions, deletionsTheodore Tso1995-05-042-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5721 dc483132-0cff-0310-8789-dd5450dbe970
* * put_svc_key.c (put_svc_key): remove spurious & in front of fkeyTom Yu1995-05-045-4/+17
| | | | | | | | | | | | | | | | (it's a char[] and takint address of it is redundant) * recvauth.c (krb_recvauth): remove spurious & in front of reference to kdata->session * rd_req.c (krb_rd_req): remove spurious & in front of reference to ad->session * g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference to key (it is a C_Block and taking address of it is redundant) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5719 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: new includes target to install krb_err.h inTom Yu1995-05-042-8/+14
| | | | | | | | $(BUILDTOP)/include; includes depends on krb_err.h. Previously, it was attempting to install a header that had not yet been generated! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5718 dc483132-0cff-0310-8789-dd5450dbe970
* * recvauth.c, compat_recv.c (krb5_recvauth()):Chris Provenzano1995-05-033-5/+9
| | | | | | | * compat_recv.c (krb5_compat_recvauth()): No longer needs the rc_type arg. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5706 dc483132-0cff-0310-8789-dd5450dbe970
* nevermind..Mark Eichin1995-05-032-25/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5695 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leaks in this function. The krb5_donot_replay structureTheodore Tso1995-05-032-19/+20
| | | | | | was not being freed properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5694 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: nuke spurious whitespace in blank lineTom Yu1995-05-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5691 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: nuke spurious whitespace from blank lineTom Yu1995-05-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5690 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lots of typos in krb5_make_fulladdrs() patch. (Lots of places whereTheodore Tso1995-05-035-55/+7
| | | | | | remote_addr was used where remote_port should have been used instead.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5687 dc483132-0cff-0310-8789-dd5450dbe970
* * get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDCMark Eichin1995-05-032-0/+25
| | | | | | | | (KERBEROS_SERVER) for a REALM:SERVER string. This overrides anything else for that realm and is intended for un-installed client use, testsuite use, and diagnostic use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5686 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), mk_safe.c (mk_safe()),Chris Provenzano1995-05-027-79/+150
| | | | | | | * rd_cred.c (rd_cred()), rd_priv.c (rd_priv()), rd_safe.c (rd_safe()): Don't call krb5_make_fulladdrs() if a port isn't specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5684 dc483132-0cff-0310-8789-dd5450dbe970
* clean-unix: Remove the installed krb_err.h in the include directoryEzra Peisach1995-05-022-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5683 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_set_config_files needs a const in the declaration to match callEzra Peisach1995-05-022-1/+7
| | | | | | to profile_init git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5682 dc483132-0cff-0310-8789-dd5450dbe970
* * genaddrs.c (krb5_auth_con_genaddrs()),Chris Provenzano1995-05-014-43/+58
| | | | | | | * mk_faddr.c (krb5_make_fulladdr()), os-proto.h : Changes to auth_context to better support full addresses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5678 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_con.c (krb5_auth_con_free()) :Chris Provenzano1995-05-0112-45/+343
| | | | | | | | | | | | | | | | | Free all the data associated with the auth_context. * auth_con.c (krb5_auth_con_setkey()) : Removed. * mk_rep.c (mk_rep()), The krb5_mk_rep() routine must always encode the data in the keyblock of the ticket, not the subkey. * cleanup.h, auth_con.c (krb5_auth_con_setports()) : Added. * auth_con.h, mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), * mk_safe.c (mk_safe()), rd_cred.c (rd_cred()), * rd_priv.c (rd_priv()), rd_safe.c (rd_safe()) : Changes to auth_context to better support full addresses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5677 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (krb5_gss_init_sec_context()) :Chris Provenzano1995-05-012-10/+41
| | | | | | | The krb5_mk_rep() routine must always encode the data in the keyblock of the ticket, not the subkey. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5676 dc483132-0cff-0310-8789-dd5450dbe970
* Added README file to the krb425 libraryTheodore Tso1995-05-011-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5671 dc483132-0cff-0310-8789-dd5450dbe970
* init_os_ctx.c (krb5_set_config_files): New function. Provides aTheodore Tso1995-05-012-1/+34
| | | | | | | | | | way to set a new set of config files for a particular OS context. init_os_ctx.c (krb5_os_init_context): Don't return an error if profile_init() returns an error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5668 dc483132-0cff-0310-8789-dd5450dbe970
* Call to krb5_read_password takes as an argument an int* not an int to ↵Ezra Peisach1995-05-012-2/+8
| | | | | | represent the length of the buffer git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5666 dc483132-0cff-0310-8789-dd5450dbe970
* Global variables krb5_config_file and krb5_trans_file definitionsEzra Peisach1995-04-302-0/+7
| | | | | | conditionalized on OLD_CONFIG_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5663 dc483132-0cff-0310-8789-dd5450dbe970
* Do not redefine PROTOTYPE if it is already definedEzra Peisach1995-04-302-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5662 dc483132-0cff-0310-8789-dd5450dbe970
* Fix fencepost error which caused an access beyond the allocated memoryTheodore Tso1995-04-292-1/+4
| | | | | | of piece->data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5658 dc483132-0cff-0310-8789-dd5450dbe970
* * g_phost.c: removed references to sys/param.h and netdb.hTom Yu1995-04-293-4/+5
| | | | | | * realmofhost.c: ditt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5656 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_free_priv_enc_part to free the entire privenc_msg structureTheodore Tso1995-04-292-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5655 dc483132-0cff-0310-8789-dd5450dbe970
* Added check for POSIX_FILE_LOCK to enable POSIX file lockingTheodore Tso1995-04-283-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5640 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add check for KRB5_POSIX_LOCKSTheodore Tso1995-04-283-8/+17
| | | | | | | krb_dbm.c: Add #include of fcntl.h; if POSIX_FILE_LOCKS is defined, use POSIX-style locking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5634 dc483132-0cff-0310-8789-dd5450dbe970
* Add #include of fcntl.hTheodore Tso1995-04-282-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5633 dc483132-0cff-0310-8789-dd5450dbe970
* Add kadm to list of subdirectories to be builtPaul Park1995-04-284-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5628 dc483132-0cff-0310-8789-dd5450dbe970
* Moved these administrative protocol functions out of libkrb5Paul Park1995-04-287-0/+1118
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5622 dc483132-0cff-0310-8789-dd5450dbe970
* Moving adm_conn out of libkrb5Paul Park1995-04-285-512/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5620 dc483132-0cff-0310-8789-dd5450dbe970
* Remove adm_rw from libkrb5Paul Park1995-04-284-527/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5619 dc483132-0cff-0310-8789-dd5450dbe970