summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: Replace nonstandard CHECK_STDARG withJohn Gilmore1995-03-175-4/+235
| | | | | | | | | | | | | | | AC_CHECK_HEADERS. Also check for header file macsock.h, which is a dummy test -- it's false on Unix and PC's, but on the Mac we hand-configure it to be true, to indicate that we want Mac socket support rather than Unix socket support. * base-defs.h, k5-config.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES. * k5-config.h (NEED_SOCKETS): Add new section which brings in socket include files for the appropriate compilation environment (Mac or Unix; Windows already did this). * macsock.h: New include file, derived from Cygnus Network Security Mac K4 release, for simulating sockets under MacTCP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5140 dc483132-0cff-0310-8789-dd5450dbe970
* Include file changes needed for error table stuffKeith Vetter1995-03-162-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5133 dc483132-0cff-0310-8789-dd5450dbe970
* Some windows i/o stuff and moved 2 prototypes to func-proto.hKeith Vetter1995-03-154-8/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5127 dc483132-0cff-0310-8789-dd5450dbe970
* Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, andTheodore Tso1995-03-102-9/+6
| | | | | | | FD_ZERO. Defining them in favor of using the system include files is almost always wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5106 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),Chris Provenzano1995-03-104-45/+121
| | | | | | | | | | | | | | | | | | krb5_sendauth(), krb5_mk_priv(), krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe()). Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. * fieldbits.h Added #define AP_OPTS_USE_SUBKEY 0x00000001 for a new option to an ap req message. This is mainly a clean way to inform krb5_mk_req() and krb5_mk_req_extended() to create the subkey without adding an extra argument. * safepriv.h Replace safe/priv flags with flags for krb5_auth_context and add krb5_replay_data structure for when the appilication want to do it's own replay detection for safe and priv calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5095 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-windows): tabs, not spaces.Mark Eichin1995-03-092-2/+6
| | | | | | from ezra. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5094 dc483132-0cff-0310-8789-dd5450dbe970
* PC porting: more prototyping, defines for overflow checking on the PC andKeith Vetter1995-03-078-20/+185
| | | | | | numerous PC additions to k5-config.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5080 dc483132-0cff-0310-8789-dd5450dbe970
* Make include files start to work on the MacintoshJohn Gilmore1995-03-034-2/+17
| | | | | | | | * configure.in: Add checks for sys/types.h and sys/stat.h. * k5-config.h: Remove krb5/ from #include. * sysincl.h: Avoid <sys/types.h>. Conditional-include <sys/stat.h>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5069 dc483132-0cff-0310-8789-dd5450dbe970
* Changed NEED_WINSOCK_H to NEED_SOCKETSKeith Vetter1995-03-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5065 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed up a const attribute on krb5_send_tgs in func-proto.hKeith Vetter1995-03-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5057 dc483132-0cff-0310-8789-dd5450dbe970
* Prototype changes for the krb5/os functions needed on the PCKeith Vetter1995-03-023-30/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5055 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for rcache on the PC, mostly adding INTERFACE to the prototypes. AlsoKeith Vetter1995-03-014-18/+892
| | | | | | added new file winsock.h for windows socket routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5050 dc483132-0cff-0310-8789-dd5450dbe970
* Only define labs(x) -> abs(x) if labs() is not defined elsewhere.Theodore Tso1995-03-013-0/+9
| | | | | | | (This really shouldn't be here at all, but is the expedient way to deal with lack of labs().) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5047 dc483132-0cff-0310-8789-dd5450dbe970
* Change config.h -> k5-config.h and free.h -> k5-free.h to reflectTheodore Tso1995-03-012-2/+7
| | | | | | renamed header files for Mac/PC port. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5042 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h: Rename to ../krb5.h so it can be #included by end usersJohn Gilmore1995-02-282-330/+1
| | | | | | | | | without the use of slashes or extra -I options. First step in making it stand alone without a train of a dozen other include files tagging along behind. * configure.in (AC_INIT): Use another file (not krb5.h) as src test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5033 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (osconf.h): Remove temp file osconf.newJohn Gilmore1995-02-288-9/+27
| | | | | | | | | | | | | | | | * base-defs.h, dbm.h, error_def.h, sysincl.h: Avoid #include <krb5/...> form; use "..." form. * config.h: Rename to k5-config.h. This is too common a name, now that we use -I..../include/krb5. * free.h: Rename to k5-free.h. * configure.in (AC_INIT): Use another file (not krb5.h) as src test. [Didn't check in the removal of <krb5/krb5.h> yet, til I check in the other changes throughout the tree that make it work.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5004 dc483132-0cff-0310-8789-dd5450dbe970
* Converted the krb5/krb directory to work under windows. Mostly added theKeith Vetter1995-02-274-13/+34
| | | | | | windows INTERFACE keyword to functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5002 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_credentials(), krb5_get_cred_from_kdc(),Chris Provenzano1995-02-232-4/+13
| | | | | | | | | and krb5_sendauth()) replaced krb5_cred * IN/OUT arg with a krb5_cred * IN and a krb5_cred ** OUT arg. * func-proto.h (krb5_mk_req_extended()) Remove kdc_options flag arg and krb5_ccache arg. They are no longer necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4989 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb/keytab to work on the PC. Mostly just adding the windowsKeith Vetter1995-02-222-9/+13
| | | | | | INTERFACE keyword to all functions and prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-223-46/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h: get krb5/autoconf.h.Mark Eichin1995-02-213-3/+10
| | | | | | | | | * Makefile.in (KRB5_HEADERS): add config.h, remove rsa-md4.h and crc-32.h which aren't here anymore. (changes suggested by ezra peisach) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4962 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-213-114/+131
| | | | | | 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
* * configure.in: Flip again. Use AC_CHECK_HEADERS, but default theJohn Gilmore1995-02-214-15/+139
| | | | | | | | | | | | symbol-setting. This is Modern Autoconf Style. * config.h: Create from stock/config.h and stock/config.win. * Makefile.in (BUILT_HEADERS): Remove config.h. (CONF_REPLACE, CONFSRC, config.h rule): Remove. Config.h is a static header file, ever since imake died. Now it really is. (clean): Don't remove config.new any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4958 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h, config.win: Remove; merge them both into ../config.h.John Gilmore1995-02-213-144/+5
| | | | | | Now that we aren't using imake, this isn't a generated header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4957 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-218-22/+36
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.John Gilmore1995-02-172-2/+8
| | | | | | | (Fixes resulting #define names to HAVE_XXX rather than HAS_XXX, which is not only consistent but also matches what's in sysincl.h.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4952 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: added header checks for sys/param.h and sys/file.h.John Gilmore1995-02-155-9/+47
| | | | | | | | | | | | | * encryption.h: added typedef prototype for sum_func function with the windows api to make microsoft compiler happy. * sysincl.h: conditionally include sys/file.h and sys/param.h since windows doesn't have them. * Makefile.in: - changed macros with ${...} to $(...) since nmake barfs on {}. - added windows only make preamble - split the all target into unix and windows branches git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4948 dc483132-0cff-0310-8789-dd5450dbe970
* * config.win: new file--windows base template for config.hJohn Gilmore1995-02-153-0/+65
| | | | | | * config.h: added API definition default of NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4947 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ISODE cruft -- moved included .h files from krb5/asn.1/*.h intoTheodore Tso1995-02-108-1048/+253
| | | | | | asn1.h, to simplify the krb5 header file structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4937 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_in_tkt()) Changed key_proc args to be theChris Provenzano1995-02-082-11/+32
| | | | | | | | | | | | | following (krb5_context, const krb5_keytype, krb5_data *, krb5_const_pointer, krb5_keyblock **) * func-proto.h (krb5_get_in_tkt_*()) Removed krb5_keytype, changed krb5_enctype to krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *. * func-proto.h Added new routine krb5_get_in_tkt_with_keytab(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4919 dc483132-0cff-0310-8789-dd5450dbe970
* Use politically correct name of AC_CHECK_SIZEOF instead ofTheodore Tso1995-02-032-3/+6
| | | | | | AC_SIZEOF_TYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4908 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore autoconf.h.in, since that's generated automatically by autoheaderTheodore Tso1995-02-031-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4906 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-031-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define BITS16, BITS32, BITS64, etc. anymore. Instead,Theodore Tso1995-02-033-36/+26
| | | | | | | individually test for SIZEOF_SHORT, SIZEOF_INT, and SIZEOF_LONG and use them as appropriate in wordsize.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4897 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_procChris Provenzano1995-02-023-3/+34
| | | | | | | | | | | | | * func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to krb5_enctype *, a NULL terminated array of encryption types. * func-proto.h Added prototypes for krb5_get_for_creds(), krb5_set_default_in_tkt_etypes(), and krb5_get_default_in_tkt_etypes(). * krb5.h Added fields to krb5_context to support default etypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4872 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()Chris Provenzano1995-01-283-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4864 dc483132-0cff-0310-8789-dd5450dbe970
* * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,Chris Provenzano1995-01-271-0/+10
| | | | | | | | | | | krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as unsigned int. * kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. * kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4858 dc483132-0cff-0310-8789-dd5450dbe970
* * crc-32.h: Move to lib/crypto/crc32; only gets local use.John Gilmore1995-01-273-137/+5
| | | | | | * rsa-md4.h: Move to lib/crypto/md4; only gets local use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4857 dc483132-0cff-0310-8789-dd5450dbe970
* * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,Chris Provenzano1995-01-273-29/+11
| | | | | | | | | | | krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as unsigned int. * kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. * kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4856 dc483132-0cff-0310-8789-dd5450dbe970
* fix include install typoMark Eichin1995-01-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4855 dc483132-0cff-0310-8789-dd5450dbe970
* Removing narrow.h and widen.hTheodore Tso1995-01-262-92/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4844 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: rewrote remaining tests to use AC_TRY_COMPILE andMark Eichin1995-01-262-18/+71
| | | | | | | | caching. Added cross-compile case for ANSI stdio test. No more complaints from autoconf... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4841 dc483132-0cff-0310-8789-dd5450dbe970
* Maybe CVS will let me remove them nowChris Provenzano1995-01-251-0/+4
| | | | | | * Removed narrow.h and widen.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4838 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-258-53/+19
| | | | | | | | | | | * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno, krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as int. * kdb.h Made keytype in krb5_encrypted_keyblock explicitly short for backwards compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835 dc483132-0cff-0310-8789-dd5450dbe970
* * preauth.h, rsa-md5.h: Protect against multiple inclusionJohn Gilmore1995-01-233-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832 dc483132-0cff-0310-8789-dd5450dbe970
* fix tab vs. space glitchMark Eichin1995-01-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4818 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1313-343/+575
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): constructed headers come from the buildMark Eichin1995-01-132-2/+10
| | | | | | tree, not the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4806 dc483132-0cff-0310-8789-dd5450dbe970
* Use the service names kerberos and kerberos-sec, instead of kerberos5Theodore Tso1995-01-052-2/+8
| | | | | | and kerberos4 --- the official port name is kerberos, after all! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4797 dc483132-0cff-0310-8789-dd5450dbe970
* Add a enc_part2 member to the krb5_cred structure which may point to theTheodore Tso1994-12-242-6/+12
| | | | | | unecrypted version, if it's available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4750 dc483132-0cff-0310-8789-dd5450dbe970