* accept_sec_context.c (krb5_gss_accept_sec_context),
authorTheodore Tso <tytso@mit.edu>
Sun, 16 Nov 1997 01:51:14 +0000 (01:51 +0000)
committerTheodore Tso <tytso@mit.edu>
Sun, 16 Nov 1997 01:51:14 +0000 (01:51 +0000)
commit6d185228f1f43bb1c2141ec0d88ca65d37e14bc2
treebf2af2711463487a9cb92fd2cebf8b65af94ccfc
parentee4ecaadb5fcf659c10612ebe2ddcc88575cf655
* accept_sec_context.c (krb5_gss_accept_sec_context),
  init_sec_context.c (krb5_gss_init_sec_context),
  inq_cred.c (krb5_gss_inquire_cred): Call krb5_gss_validate_cred
   to make sure the credential handle is still valid.

* val_cred.c (krb5_gss_validate_cred): New file which validates
the credential to make sure it is valid, including
checking to make sure the credentials cache still points
at the same krb5 principal as it did before.

* accept_sec_context.c (krb5_gss_accept_sec_context): Return
GSS_S_FAILURE if a non-NULL context handle is passed to it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10285 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/Makefile.in
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/init_sec_context.c
src/lib/gssapi/krb5/inq_cred.c
src/lib/gssapi/krb5/val_cred.c [new file with mode: 0644]