summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * daemon.c, memmove.c, strcasecmp.c, strdup.c: Avoid <krb5/...>John Gilmore1995-02-285-7/+12
| | | | | | | includes. * memmove.c: Use HAS_SYS_TYPES_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5013 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/....> includesJohn Gilmore1995-02-286-9/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5012 dc483132-0cff-0310-8789-dd5450dbe970
* *.c: Avoid <krb5/...> includesJohn Gilmore1995-02-2822-73/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5011 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-2832-95/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5010 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ets.c: Avoid <krb5/...> includesJohn Gilmore1995-02-282-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5009 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-2811-23/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5008 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/....> includesJohn Gilmore1995-02-2826-55/+44
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5007 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-2816-16/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5006 dc483132-0cff-0310-8789-dd5450dbe970
* Converted the krb5/krb directory to work under windows. Mostly added theKeith Vetter1995-02-2766-203/+217
| | | | | | windows INTERFACE keyword to functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5002 dc483132-0cff-0310-8789-dd5450dbe970
* All to change krb5_get_credentials() ..Chris Provenzano1995-02-2311-332/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * send_tgs.c (krb5_send_tgs()) Added check for a valid krb5_creds * arg. * mk_req_ext.c (krb5_mk_req_extended()) Require caller to pass in a valid krb5_creds * arg, and removed kdc_options krb5_flags and krb5_ccache from arg list. * send_tgs.c (krb5_send_tgs()) * sendauth.c (krb5_sendauth()) Fix calls to krb5_mk_req_extended() * gc_frm_kdc.c (krb5_get_cred_from_kdc()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * gc_via_tgt.c (krb5_get_cred_via_tgt()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * gc_2tgt.c (krb5_get_cred_via_2tgt()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * int-proto.h Updated prototypes for krb5_get_cred_via_tgt() and krb5_get_cred_via_2tgt(). * get_creds.c (krb5_get_credentials()) Changed krb5_creds * in/out arg to be an in only arg and added krb5_creds ** out arg. * sendauth.c (krb5_sendauth()) Routines that also require krb5_creds * in/out arg to be appropriately changed because krb5_get_credentials() changed. * gc_frm_kdc.c (krb5_get_cred_from_kdc()) * get_fcreds.c (krb5_get_for_creds()) * mk_req.c (krb5_mk_req()) Other routines that needed adjusting because krb5_get_credentials() changed but didn't need an API change. * int-proto.h Don't prototype krb5_get_cred_via_tgt() twice. Use the second to prototype krb5_get_cred_via_2tgt(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4993 dc483132-0cff-0310-8789-dd5450dbe970
* * init_sec_context.c (make_ap_req()) Use new API forChris Provenzano1995-02-232-49/+64
| | | | | | krb5_mk_req_extended() and cleanup internal processing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4992 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb/keytab to work on the PC. Mostly just adding the windowsKeith Vetter1995-02-2222-74/+112
| | | | | | INTERFACE keyword to all functions and prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970
* Remove call to xfree at the end. This routine now only frees theTheodore Tso1995-02-222-1/+6
| | | | | | contents of the cred_enc_part structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4972 dc483132-0cff-0310-8789-dd5450dbe970
* Fix argument type to krb5_free_cred_enc_part()Theodore Tso1995-02-222-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4971 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-2235-361/+410
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing declarations, removed duplicate onesTheodore Tso1995-02-223-9/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4969 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: check for HAVE_FLOCK, since we may need to useMark Eichin1995-02-213-22/+95
| | | | | | | | | | | both flock and fcntl. * fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall back to flock (if we have it.) Now kinit et. al. "just work" on sunos and solaris, even if you use tmpfs. (tested on sunos, the solaris build has recently broken elsewhere...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4964 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ets.c (krb5_init_ets): use old-style definitionMark Eichin1995-02-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4963 dc483132-0cff-0310-8789-dd5450dbe970
* Updated krb5/error_tables for the PC. Makefile.in set up to run awk if oneKeith Vetter1995-02-213-13/+49
| | | | | | is available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4961 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-2133-63/+73
| | | | | | functions and their prototypes and fixed upt the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4960 dc483132-0cff-0310-8789-dd5450dbe970
* PC'fied gssapi directories. Mostly changing Makefile.in and adding theKeith Vetter1995-02-2149-226/+317
| | | | | | windows INTERFACE keyword to functions. A few int/long fixes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4959 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-2140-160/+333
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* Renames for 8.3 uniqueness for files created by the Make processKeith Vetter1995-02-204-7/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4955 dc483132-0cff-0310-8789-dd5450dbe970
* DOS 8.3 filename changes. The make process created some files withKeith Vetter1995-02-204-7/+16
| | | | | | bad names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4954 dc483132-0cff-0310-8789-dd5450dbe970
* Experimental checkinKeith Vetter1995-02-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: made to work under WindowsJohn Gilmore1995-02-154-14/+32
| | | | | | | | | | | | | | | - added windows only make preamble - moved the all target after the objects it depends on - used $(OBJEXT) and $(EXEEXT) where needed - split crctest into unix rules and windows rules - changed file separatars into macros where needed * crctest.c: changed int to long to work on 16 bit machines * crc.c: added Windows calling convention to the function and casted the assignment of the function. [There's a minor problem -- the cast should be fixed another way -- but I'll check it in this way and then Keith will fix it.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4949 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak --- the default encryption types was not being freedTheodore Tso1995-02-142-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4944 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruftTheodore Tso1995-02-105-94/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4939 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruftTheodore Tso1995-02-1012-728/+69
| | | | | | krb5_encode.h and krb5_decode.h have been poured into include/krb5/asn1.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4938 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ISODE cruftTheodore Tso1995-02-102-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4936 dc483132-0cff-0310-8789-dd5450dbe970
* Set up the keyblock's etype field correctly (after copying theTheodore Tso1995-02-092-2/+7
| | | | | | keyblock, so it doesn't get overwritten!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4931 dc483132-0cff-0310-8789-dd5450dbe970
* Add KRB5_INT32 definitions for non-32 int platformsTheodore Tso1995-02-082-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4925 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt())Chris Provenzano1995-02-086-148/+250
| | | | | | | | | | | | | | | | | | * in_tkt_sky.c (krb5_get_in_tkt_with_skey()) * in_tkt_pwd.c (krb5_get_in_tkt_with_password()) Removed krb5_keytype, changed krb5_enctype to krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *. Changed the args to the key_proc arg of krb5_get_in_tkt() to be the following (krb5_context, const krb5_keytype, krb5_data *, krb5_const_pointer, krb5_keyblock **) * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab()) Added this routine to replace krb5_get_in_tkt_with_skey() in kinit. * Makefile.in Added new source file in_tkt_ktb.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4922 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): also check for the versionMark Eichin1995-02-042-2/+11
| | | | | | | | | number of the reply being whatever we had in the first byte of the request. tested with kinit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4910 dc483132-0cff-0310-8789-dd5450dbe970
* Add SIZEOF_FOO checks to properly define KRB_INT32Theodore Tso1995-02-032-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4909 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-0326-0/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* Don't double count the leap day in a leap yearTheodore Tso1995-02-032-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4903 dc483132-0cff-0310-8789-dd5450dbe970
* Use explicit 32 bit types so this will work on an AlphaTheodore Tso1995-02-032-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4902 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused cruft from des_int.hTheodore Tso1995-02-032-73/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4901 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo; "%02 X" --> "%02X"Theodore Tso1995-02-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4891 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files so that they work in the DOS LIB command,John Gilmore1995-02-035-6/+17
| | | | | | | | | | | | which amazingly finds dashes in mid-name and treats them like option switches. * des-crc.c => des_crc.c * des-md5.c => des_md5.c * raw-des.c => raw_des.c * Makefile.in: changed to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4888 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files for DOS 8.3 uniqueness:John Gilmore1995-02-034-4/+11
| | | | | | | | * ktf_get_en.c => ktf_g_ent.c * ktf_get_na.c => ktf_g_name.c * Makefile.in: changed to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4887 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files for DOS 8.3 uniqueness:John Gilmore1995-02-036-8/+17
| | | | | | | | | | * f_kdc_rep.c => f_kdc_rp.c * f_kdc_req.c => f_kdc_rq.c * f_ticket.c => f_tckt.c * f_tickets.c => f_tckts.c * Makefile.in was updated to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4886 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode_k.c => asn1_k_decode.cJohn Gilmore1995-02-038-13/+22
| | | | | | | | | | * asn1_decode_k.h => asn1_k_decode.h * asn1_encode_k.c => asn1_k_encode.c * asn1_encode_k.h => asn1_k_encode.h * Makefile.sane.in, krb5_decode.c, krb5_encode.c, asn1_k_encode.c, asn1_k_decode.c: updated to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4885 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files for DOS 8.3 uniqueness:John Gilmore1995-02-038-12/+23
| | | | | | | | | | | | * display_name.c => disp_name.c * display_status.c => disp_status.c * inquire_context.c => inq_context.c * inquire_cred.c => inq_cred.c * release_cred.c => rel_cred.c * release_name.c => rel_name.c * Makefile.in changed to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4884 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files for DOS 8.3 uniqueness:John Gilmore1995-02-037-10/+20
| | | | | | | | | | | * display_com_err_status.c => disp_com_err_status.c * display_major_status.c => disp_major_status.c * release_buffer.c => rel_buffer.c * release_oid_set.c => rel_oid_set.c * util_val_nohash.c => utl_nohash_validate.c * Makefile.in was changed to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4883 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): fix typoTom Yu1995-02-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4882 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): if krb5_is_as_rep fails, checkMark Eichin1995-02-032-2/+25
| | | | | | | | | if the packet might be a V4 error packet. Use modified V4 check so that it compiles under SCO. simple, but untested. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4880 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_err.et (KRB5KRB_AP_ERR_V4_REPLY): new error code for V4Mark Eichin1995-02-032-0/+7
| | | | | | reply to a V5 request. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4879 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Handle $(srcdir) properly in -I optionsJohn Gilmore1995-02-026-3/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4877 dc483132-0cff-0310-8789-dd5450dbe970