Add a kg_encrypt_inplace() utility function to the krb5 GSS mech, and
authorGreg Hudson <ghudson@mit.edu>
Tue, 26 Oct 2010 17:18:22 +0000 (17:18 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 26 Oct 2010 17:18:22 +0000 (17:18 +0000)
commitc079477480c839bd983afd082ac7a7ec51e906ca
treecf42f68c929df371979ac25250168d2b4502a780
parentc18b2675873acaf982878e52f7aee55a156bb646
Add a kg_encrypt_inplace() utility function to the krb5 GSS mech, and
use it where we do in-place encryption of checksums in the non-CFX
seal tokens with raw DES enctypes.  Avoids a harmless but incorrect
in-place memcpy().

ticket: 6770

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24485 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/k5seal.c
src/lib/gssapi/krb5/k5sealiov.c
src/lib/gssapi/krb5/k5unseal.c
src/lib/gssapi/krb5/k5unsealiov.c
src/lib/gssapi/krb5/util_crypt.c