ser_sctx.c (kg_oid_externalize, kg_oid_internalize,
authorTheodore Tso <tytso@mit.edu>
Sat, 19 Oct 1996 05:05:24 +0000 (05:05 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 19 Oct 1996 05:05:24 +0000 (05:05 +0000)
commit2c00e1c235063a9fc812563c32acefcba1574e4f
tree8a01af0554082bdc513269d3c447dec4939e5154
parent954d7d2c60353d1659324cf3d04ed727e58d4ffa
ser_sctx.c (kg_oid_externalize, kg_oid_internalize,
kg_oid_size): Add a GSSAPI OID magic number to the externalized OID,
so that if the OID is skipped, (it is optional), the serialization
code can resyncronize if necessary.
(kg_queue_internalize, kg_queue_externalize, kg_queue_size): New functions
to externalize the gssapi queue.
(kg_ctx_size, kg_ctx_exteranlize, kg_ctx_import): Changed to include
the mech_used field and to include the auth context.

gssapi_krb5.c (kg_get_context): Add calls to correctly initialize the
 serializers needed by import and export sec context.

delete_sec_context.c (krb5_gss_delete_sec_context): Remember to release the
mech_used OID if necessary!

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9213 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/delete_sec_context.c
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/krb5/ser_sctx.c