summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove mechglue from the list of Macintosh subdirectoriesTheodore Tso1996-07-242-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8792 dc483132-0cff-0310-8789-dd5450dbe970
* Must include k5-int.h on Windows and Macintosh buildsTheodore Tso1996-07-242-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8791 dc483132-0cff-0310-8789-dd5450dbe970
* Fix broken Windows commands to copy gssapi_krb5.h to include/gssapiTheodore Tso1996-07-242-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8790 dc483132-0cff-0310-8789-dd5450dbe970
* Must include k5-int.h on Windows and Macintosh buildsTheodore Tso1996-07-242-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8789 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: delete extraneous trailing backslash from GENSRCSTom Yu1996-07-232-2/+7
| | | | | | and GENOBJS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8783 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed release_buffer.c to rel_buffer.c, and release_oid_set.c toTheodore Tso1996-07-234-4/+11
| | | | | | | rel_oid_set.c. Marc broke the DOS 8.3 renaming which Gilmore had done to conform with DOS's filesystem constraints git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8782 dc483132-0cff-0310-8789-dd5450dbe970
* * xdr.c: Do not declare malloc()Ezra Peisach1996-07-233-2/+9
| | | | | | | * Makefile.in (SHLIB_LIBS): Link with gssapi_krb5 when creating shared library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8781 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: libkdb5.so needs to be built withEzra Peisach1996-07-233-0/+23
| | | | | | | | | libcrypto and libkrb5. * configure.in: Pass version numbers of teh crypto and krb5 shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8780 dc483132-0cff-0310-8789-dd5450dbe970
* Include errno.hEzra Peisach1996-07-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8778 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-22242-1309/+47582
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* Added TIMEBOMB_INFO string which tells the user the URL to look forTheodore Tso1996-07-132-3/+12
| | | | | | more information about getting the new version of the product. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8705 dc483132-0cff-0310-8789-dd5450dbe970
* New routine which does the timebomb and version server checking.Theodore Tso1996-07-112-39/+78
| | | | | | | | Windows 3.1 doesn't allow you to do any messaging calls in LibMain, so the timebomb and version server code was moved to krb5_win_do_init(), which is called by krb5_init_context(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8678 dc483132-0cff-0310-8789-dd5450dbe970
* Add a call to krb5_win_do_init() on Win16 and Win32 machines. This isTheodore Tso1996-07-112-0/+18
| | | | | | where we do timebomb and version server checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8677 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll andTheodore Tso1996-07-103-2/+56
| | | | | | | | | sapkrb5.dll when we compile them at MIT. Makefile.in (sap_glue.obj): Build the sapkrb5.dll with the timebomb enabled (since we couldn't get the version server code working). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8651 dc483132-0cff-0310-8789-dd5450dbe970
* * get_creds.c: (krb5_get_credentials_val_renew_core) CombineEzra Peisach1996-07-073-3/+71
| | | | | | | | | | | common internals needed from krb5_get_credentials_validate() and used by new function krb5_get_credentials_renew() * gc_frm_kdc.c (krb5_get_cred_from_kdc_renew): A wrapper that passes KDC_OPT_RENEW to the static krb5_get_cred_from_kdc_opt so that kinit can use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8558 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn12krb5_buf): Initialize magic fields of structure.Ezra Peisach1996-06-272-1/+9
| | | | | | | | | | | | (asn1buf_expand): If pre-allocating memory for future use, store proper end of buffer. This was a big performance hit in asn.1 routines as every time it tried to decode an octet, 200 bytes were allocated (for future use), but the buffer structure pnly thought that one byte was allocated and the next time through would try to allocate memory again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8553 dc483132-0cff-0310-8789-dd5450dbe970
* Change const to krb5_const, so that it works on compilers that don'tTheodore Tso1996-06-242-1/+7
| | | | | | support const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8546 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Win-16 build #defines for KRB5_CALLCONV and KRB5_DLLIMPTheodore Tso1996-06-212-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8533 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typos for SAPKRB5.DLL supportTheodore Tso1996-06-202-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8419 dc483132-0cff-0310-8789-dd5450dbe970
* * str_conv.c (krb5_string_to_timestamp): Ensure that all fields ofEzra Peisach1996-06-182-1/+13
| | | | | | | the timestamp are filled in if strptime does not fill in unspecified fields. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8376 dc483132-0cff-0310-8789-dd5450dbe970
* Add space before \ to deal with SunOS version of make which losesEzra Peisach1996-06-152-3/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8365 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-148-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to SS_RULES, ET_RULESTom Yu1996-06-142-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8359 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h for declaration for memcpy()Ezra Peisach1996-06-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8354 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update special rule for gssapi_err_generic.obj so that itTheodore Tso1996-06-132-5/+7
| | | | | | uses the right Win-32 library command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8349 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update special rule for gssapi_err_krb5.obj so that itTheodore Tso1996-06-132-5/+5
| | | | | | uses the right Win-32 library command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8348 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in missing _WIN32 #ifdefTheodore Tso1996-06-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8345 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing prototypes; needed to make Win-32 compiler happyTheodore Tso1996-06-132-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8344 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for the SAM encoding and decoding functions, which areTheodore Tso1996-06-123-3/+40
| | | | | | necessary for the Win32 port (and a good idea in general). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8329 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (lib-windows): Replace spaces with tabEzra Peisach1996-06-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8322 dc483132-0cff-0310-8789-dd5450dbe970
* New file for SAPKRB5.DLLTheodore Tso1996-06-121-0/+72
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8321 dc483132-0cff-0310-8789-dd5450dbe970
* Change _WINDOWS to _MSDOS, and add check for _WIN32Theodore Tso1996-06-124-6/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8317 dc483132-0cff-0310-8789-dd5450dbe970
* net_read.c (krb5_net_read):Theodore Tso1996-06-1212-13/+48
| | | | | | | | | | | | | | | | | | | | | net_write.c (krb5_net_write): In case of an error, on Windows machines, set errno from SOCKET_ERRNO, since the interface assumes the error is passed back the errno global varaible. This really needs to be fixed sometime... read_msg.c: If ECONNABORTED is not defined, try using the Winsock version of the error code (WSAECONNABORTED). read_pwd.c: promptusr.c: lock_file.c: kuserok.c: ktdefname.c (krb5_kt_default_name): init_os_ctx.c (os_init_paths): ccdefname.c: an_to_ln.c (db_an_to_ln): Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8316 dc483132-0cff-0310-8789-dd5450dbe970
* sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try usingTheodore Tso1996-06-123-1/+14
| | | | | | | | | the Winsock equivalent (WSAECONNABORTED). parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8315 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-122-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8314 dc483132-0cff-0310-8789-dd5450dbe970
* scc_read.c:Theodore Tso1996-06-123-5/+11
| | | | | | | scc_gennew.c (krb5_scc_generate_new): Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8313 dc483132-0cff-0310-8789-dd5450dbe970
* fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.Theodore Tso1996-06-125-65/+81
| | | | | | | | | | | | | Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP. fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP, since fcc_getname returns a char * and the old INTERFACE method bombs out when the return type contains an indirection. fcc_read.c: fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8312 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unnecessary include config/windows.in. wconfig takes care ofTheodore Tso1996-06-122-1/+5
| | | | | | this automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8311 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of _WINDOWS to _MSDOS, and add check for _WIN32Theodore Tso1996-06-124-4/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8310 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Remove include of config/windows.in; that's doneTheodore Tso1996-06-124-11/+17
| | | | | | | | | automatically by wconfig. g_acquire_cred.c, g_oid_ops.c: Change to use new convention of KRB5_CALLCONV and KRB5_DLLIMP instead of INTERFACE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8309 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8308 dc483132-0cff-0310-8789-dd5450dbe970
* Change INTERFACE to be KRB5_CALLCONV, which is where the callingTheodore Tso1996-06-122-57/+109
| | | | | | | | | | | | | | convention is defined. Add KRB5_DLLIMP which is where the DLL import/export should be put for Win32. (Win16 is just different.) The correct way to declare a function which will be used in a DLL is now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long) Change function delcarations to use the new convention. Actually, it doesn't hurt to use the old convention as long as func_return_t doesn't contain a '*'. But in the long run we should be exterminating all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8307 dc483132-0cff-0310-8789-dd5450dbe970
* c_ustime.c: Fix WIN32 to be _WIN32Theodore Tso1996-06-123-2/+9
| | | | | | c_localaddr.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8300 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-128-6/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (lib-windows): Add production rule for sapkrb5.dll. Don'tTheodore Tso1996-06-123-2/+86
| | | | | | | | | | include config/windows.in, since that's included by wconfig. win_glue.c: Add a quick hack for krb5-SAP so that we call the version server --- this is conditionalized on SAP_VERSERV, which is only defined when we build sapkrb5.dll. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8298 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inclusion of malloc.h..Ezra Peisach1996-06-122-1/+4
| | | | | | | If it was really needed, it would have been included in several files, not just this one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8296 dc483132-0cff-0310-8789-dd5450dbe970
* Missed two filesEzra Peisach1996-06-121-42/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8295 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kdb4 from the sources treeEzra Peisach1996-06-129-1631/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8294 dc483132-0cff-0310-8789-dd5450dbe970
* kdb4 is now longer there..Ezra Peisach1996-06-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8293 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_close): Free memory allocated byEzra Peisach1996-06-112-1/+17
| | | | | | krb5_ktkdb_resolve. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8291 dc483132-0cff-0310-8789-dd5450dbe970