summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/generic
Commit message (Collapse)AuthorAgeFilesLines
* Use $(S) instead of / for productions which could be used on both DOSTheodore Tso1996-10-292-2/+7
| | | | | | and Unix systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9248 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typo so that the remaining length field is set correctlyTheodore Tso1996-10-212-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9218 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_queue_externalize, g_queue_internalize, g_queue_size):Theodore Tso1996-10-193-0/+46
| | | | | | | New routines which allow the serailizing routines to access the seqstate structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9214 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove calls to CopySrcHeaderTom Yu1996-10-103-15/+28
| | | | | | | | * Makefile.in: More fixups; punt usage of CopySrcHeader and use explicit dependencies instead, thus avoiding abuse of double-colon rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9160 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-unix): Fix up last change; depending on a phonyTom Yu1996-10-092-8/+9
| | | | | | target causes everything all of $(OBJS) to get remade always. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9156 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all-unix): Fix up various rules that haveTom Yu1996-10-092-7/+14
| | | | | | | "includes" as dependencies in order to allow for makes that don't do left-to-right ordering of dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9155 dc483132-0cff-0310-8789-dd5450dbe970
* utl_nohash_validate.c, util_canonhost.c, util_validate.c: Only includeTheodore Tso1996-08-285-3/+15
| | | | | | | | sys/types.h if present. configure.in: Add check for limits.h and sys/types.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8999 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_generic.h: If not on a Mac or under Dos, and stdlib.hEzra Peisach1996-08-023-0/+13
| | | | | | | | | | | | | | exists, include it. * configure.in: Check for stdlib.h This cleans up many warnings on the Alpha as malloc is not previously declared. In Beta-6, gssapiP_generic.h always included k5-int.h (which included stdlib.h). Now, only the DOS and Mac platforms include k5-int.h so we need to include stdlib.h if present. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8895 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_check):Theodore Tso1996-07-258-18/+44
| | | | | | | | | | | | | | | | | | | | | util_ordering.c (g_order_init): Changed return code to be an int 32, since we return a com_err error code. Change the type of the sequence number to be an uint32. gssapi.h: Define gss_int32 -- needed for error code returns. Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid under windows. Fix how the header file is copied in under Windows. gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so that we get the definitions of the nametype oids. oid_ops.c (generic_gss_release_oid): Re-enable function. util_token.c (g_verify_token_header): Changed return code to be an int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8814 dc483132-0cff-0310-8789-dd5450dbe970
* util_token.c (g_verify_token_header): Changed return code to be anTheodore Tso1996-07-253-2/+5
| | | | | | unsigned int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8811 dc483132-0cff-0310-8789-dd5450dbe970
* Remove INTERFACE keyworded; not needed (and causes problems) sinceTheodore Tso1996-07-243-2/+9
| | | | | | we're not exporting this function to the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8809 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/file.h> if building with BSD_DBTheodore Tso1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8807 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
* 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
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-2218-114/+899
| | | | | | | | | 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
* 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
* * configure.in: remove ref to ET_RULESTom Yu1996-06-142-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 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
* 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
* cvsignore hackeryTom Yu1996-06-101-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-061-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* Integrated OpenVision's changes into the most recent MIT code. ThisMarc Horowitz1996-04-123-0/+330
| | | | | | | revision is what I'd call the easy stuff. Some more controversial stuff remains to be done, which is why I'm doing a checkin now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7797 dc483132-0cff-0310-8789-dd5450dbe970
* Inlined list of source files for SRCS and OBJS (for Macintosh build)Theodore Tso1996-04-022-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7748 dc483132-0cff-0310-8789-dd5450dbe970
* Synchronize .Sanitize with current realityEzra Peisach1996-03-201-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7673 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed mispelling of Doug Engert's nameTheodore Tso1996-03-111-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7604 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to work on 16-bit platforms (we don't allow greater than 64kTheodore Tso1996-03-012-0/+15
| | | | | | tokens on these platforms). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7576 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure size_t and uid_t are defined under MS-DOSTheodore Tso1996-02-272-1/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7556 dc483132-0cff-0310-8789-dd5450dbe970
* New error code functionTheodore Tso1996-02-252-0/+10
| | | | | | | XXX Need to square number assigment with official C-binds draft once it is issued. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7535 dc483132-0cff-0310-8789-dd5450dbe970
* * g_compare_name.c, g_delete_sec_context.c, g_dsp_status.c,Tom Yu1996-01-252-1/+15
| | | | | | | | | | | g_exp_sec_context.c, g_imp_sec_context.c, g_rel_buffer.c, g_rel_cred.c, g_rel_name.c, g_rel_oid_set.c, get_mechanism.c, get_mtype.c: Include stdlib.h and string.h as needed * mglueP.h: Add many invocations of NPROTOTYPE and PROTOTYPE to prevent breakage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7378 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h: Removed prototypes of functions that have beenTheodore Tso1996-01-237-543/+9
| | | | | | | | | moved to the mechglue layer. Makefile.in: Removed gssapi_generic.c, oid_ops.c, rel_buffer.c, and rel_oid_set.c --- these functions are now done in the mechglue layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7364 dc483132-0cff-0310-8789-dd5450dbe970
* Added ##DOS statements after gssapi_err_generic.$(OBJECT) to get itTheodore Tso1996-01-112-0/+9
| | | | | | added to library on Windows. (Patch from Doug Engbert). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7298 dc483132-0cff-0310-8789-dd5450dbe970
* Remove #if statement that used sizeof(xxx), since that won't work forTheodore Tso1996-01-112-6/+7
| | | | | | most C compilers/C preprocessors! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7293 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h (TWRITE_INT16, TREAD_INT16): Added new macrosTheodore Tso1996-01-052-0/+13
| | | | | | to read and write two byte integers from the wire. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7276 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h: Don't include <sys/types.h> since it's alreadyTheodore Tso1996-01-053-3/+9
| | | | | | | | included by gssapi.h. gssapi.h: Add a #ifndef _MACINTOSH around include of <sys/types.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7275 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, ChangeLog: Add support to compile shared librariesTheodore Tso1995-11-184-3/+29
| | | | | | | gssapi.h: Include sys/types.h, since that's where POSIX says size_t is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7116 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-033-34/+28
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-072-2/+5
| | | | | | included by wconfig. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6944 dc483132-0cff-0310-8789-dd5450dbe970
* For MS-DOS, use the brute force method of defining the size ofTheodore Tso1995-09-292-9/+17
| | | | | | variables; we should really get an autoconf file for MS-DOS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6893 dc483132-0cff-0310-8789-dd5450dbe970
* Misc Mac cleanupsKeith Vetter1995-09-292-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6881 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-252-7/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6859 dc483132-0cff-0310-8789-dd5450dbe970
* oid_ops.c: signed/unsigned mismatch, removed unused variablesTheodore Tso1995-09-233-5/+10
| | | | | | util_oid.c: changed int to a size_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6832 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-115-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* Update to GSSAPI-V2Paul Park1995-08-3110-216/+842
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6638 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for gss_{im,ex}port_sec_contextPaul Park1995-08-292-1/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6624 dc483132-0cff-0310-8789-dd5450dbe970
* Include k5-int.h instead of specific internal include filesPaul Park1995-07-272-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6351 dc483132-0cff-0310-8789-dd5450dbe970
* Remove LDFLAGSPaul Park1995-07-072-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6268 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-092-5/+6
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6021 dc483132-0cff-0310-8789-dd5450dbe970
* Include k5-sockets.h now that k5-config.h does not include netdb.h.Ezra Peisach1995-05-242-0/+7
| | | | | | (Conditionalized on NEED_SOCKETS being defined) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5855 dc483132-0cff-0310-8789-dd5450dbe970
* Install EXPORTED_HEADERS in gssapi subdirectoryPaul Park1995-05-223-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5839 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