summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi
Commit message (Collapse)AuthorAgeFilesLines
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-256-14/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6859 dc483132-0cff-0310-8789-dd5450dbe970
* Fix tabbing in prototypes. (Just to clear up a conflict)Theodore Tso1995-09-251-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6858 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed kb_seal_size prototypeKeith Vetter1995-09-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6847 dc483132-0cff-0310-8789-dd5450dbe970
* acquire_.c: changed int to size_t.Theodore Tso1995-09-237-5/+76
| | | | | | | | | | | gssapip_.h: added prototype for kg_seal_size. k5seal.c: 16/32 bit mismatch and removed unused variables. seal.c: 16/32 bit mismatch. sign.c: 16/32 bit mismatch. ser_sctx.c: added prototypes for all functions since they get assigned into a structure that has been prototyped. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6833 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
* Put back in all:: all-$(WHAT) rule--PC needs itTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6831 dc483132-0cff-0310-8789-dd5450dbe970
* Lots of memory leaks and other fixes...Theodore Tso1995-09-1618-106/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gssapiP_krb5.h: Remove context and cred from the gssapi security context, as they aren't needed. kg_seal and kg_unseal now take a krb5_context argument. ser_sctx.c (kg_ctx_size, kg_ctx_externalize, kg_ctx_internalize): No longer serialize the context and cred fields of the gssapi security context. krb5_gss_glue.c: Don't rely on the context field of the gssapi security context. Use kg_context instead. verify.c (krb5_gss_verify, krb5_gss_verify_mic): unseal.c (krb5_gss_unwrap, krb5_gss_unseal): sign.c (krb5_gss_sign, krb5_gss_get_mic): seal.c (krb5_gss_seal, krb5_gss_wrap): process_context_token.c (krb5_gss_process_context_token): k5unseal.c (kg_unseal): k5seal.c (kg_seal_size): Add a krb5_context argument to this function, so we don't have to depend on the context field in the gssapi security context. init_sec_context.c (krb5_gss_init_sec_context): Don't initialize the context and cred fields in the gssapi security context. Copy ctx->subkey to ctx->seq.key, so they are separately allocated. gssapi_krb5.c (kg_get_context): When initialize kg_context, call krb5_init_ets() so that the error tables are initialized. export_sec_context.c (krb5_gss_export_sec_context): Don't depend on the context field from the gssapi security context. Free ctx->seq.key. delete_sec_context.c (krb5_gss_delete_sec_context): kg_seal() now takes a krb5_context argument. Free ctx->seq.key. acquire_cred.c (krb5_gss_acquire_cred): Clear the gssapi credential before setting it, to prevent purify from complaining. accept_sec_context.c (krb5_gss_accept_sec_context): Remove context and cred from the gssapi security context. Make sure the ticket is freed after we're done with it. import_sec_context.c (krb5_gss_import_sec_context): Don't bash the input interprocess_token. Otherwise, it can't be freed. Don't depend on the context field in the gss security context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6798 dc483132-0cff-0310-8789-dd5450dbe970
* Free the auth context when freeing the GSSAPI context structureTheodore Tso1995-09-133-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6776 dc483132-0cff-0310-8789-dd5450dbe970
* Undo MACINTOSH changes to path in these files - theye were correct. TheEzra Peisach1995-09-124-12/+5
| | | | | | | Makefile.in alread specifies the right locations to include so that ,krb5/...> is not required for unix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6769 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate the keytab -> enctype changesEzra Peisach1995-09-123-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6768 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-1113-5/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* (gss_delete_sec_context): Add extra indirection so that we actuallyTheodore Tso1995-09-093-6/+14
| | | | | | | | fetch the context correctly. (gss_accept_sec_context): Remove unused code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6744 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c, init_sec_context.c, util.c :Chris Provenzano1995-09-064-5/+9
| | | | | | s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6716 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c, init_sec_context.c, util_seed.c :Chris Provenzano1995-09-064-5/+11
| | | | | | | Remove krb5_enctype references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6679 dc483132-0cff-0310-8789-dd5450dbe970
* Update to GSSAPI-V2Paul Park1995-08-3132-295/+1622
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6638 dc483132-0cff-0310-8789-dd5450dbe970
* init_sec_context.c (krb5_gss_init_sec_context): Remove duplicatedEzra Peisach1995-08-302-23/+5
| | | | | | cleanup code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6636 dc483132-0cff-0310-8789-dd5450dbe970
* Zero out newly allocated context so encrypt_block doesnt have garbagePaul Park1995-08-293-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6635 dc483132-0cff-0310-8789-dd5450dbe970
* Describe previous changesPaul Park1995-08-291-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6629 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers for GSSAPI data structuresPaul Park1995-08-291-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6628 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for {im,ex}port_sec_context and kg_ser_context_initPaul Park1995-08-291-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6627 dc483132-0cff-0310-8789-dd5450dbe970
* Add {im,ex}port_sec_context wrapper routinesPaul Park1995-08-291-0/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6626 dc483132-0cff-0310-8789-dd5450dbe970
* Add new modules to support {im,ex}port of GSSAPI contextPaul Park1995-08-295-0/+1060
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6625 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
* Use generic_gss_release_oid_set() instead of gss_release_oid_set() soTheodore Tso1995-08-072-1/+7
| | | | | | | that the krb5-specific mechanism can be linked in without pulling in krb5_gss_glue.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6446 dc483132-0cff-0310-8789-dd5450dbe970
* Find rsa-md5.h in the correct place. Use k5-int.hPaul Park1995-07-276-14/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6352 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-074-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6268 dc483132-0cff-0310-8789-dd5450dbe970
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-153-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* changes to accomodate redefinition of krb5_auth_contextTom Yu1995-06-114-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6035 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-094-8/+11
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6021 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-092-6/+6
| | | | | | | now handled by CONFIG_RULES. Use DO_SUBDIRS to recurse down subdirectories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6013 dc483132-0cff-0310-8789-dd5450dbe970
* Include time.h (or sys/time.h) for struct tm structure which is nowEzra Peisach1995-06-072-0/+12
| | | | | | referenced in the los-proto.h file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5963 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
* Add install SUBDIRSPaul Park1995-05-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5843 dc483132-0cff-0310-8789-dd5450dbe970
* Describe previous changesPaul Park1995-05-221-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5842 dc483132-0cff-0310-8789-dd5450dbe970
* Do not report creds as expired if the expiration time is indefinitePaul Park1995-05-221-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5841 dc483132-0cff-0310-8789-dd5450dbe970
* Add null install targetPaul Park1995-05-221-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5840 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
* * 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
* * 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
* 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
* Fixed PC makefile bug with passing wrong macro on recursive makesKeith Vetter1995-04-272-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5553 dc483132-0cff-0310-8789-dd5450dbe970
* If STDC and WINDOWS is not defined, define PROTOTYPE properly.Ezra Peisach1995-04-212-0/+6
| | | | | | (the definition was missing entirely then) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5424 dc483132-0cff-0310-8789-dd5450dbe970
* Some PC fix-ups due to the include structure changingKeith Vetter1995-04-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5407 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add checking for SIZEOF_SHORT, SIZEOF_INT, andTheodore Tso1995-04-205-5/+61
| | | | | | | | | | | | | | | | | SIZEOF_LONG, so we don't need to depend on getting this information from include/krb5/autoconf.h gssapi.h: Removed dependence on krb5 include files. gssapiP_generic.h: We need to include k5-config in order to get Windows specific hackery. Somewhat of a wart, but this is a gssapi internal header file, so the rest of the world doesn't have to see this. util_token.c: Define VALID_INT, instead of relying on this being defined by krb5.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5388 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-144-0/+193
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-1445-237/+249
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* Commit on the whole tree to make a checkpoint for a working windows worldKeith Vetter1995-03-312-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5315 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unixmac): Add to build header filesJohn Gilmore1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5296 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c: Use new calling convention for krb5_rd_req()Chris Provenzano1995-03-272-135/+47
| | | | | | and krb5_mk_rep(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5264 dc483132-0cff-0310-8789-dd5450dbe970