Do not call principal_ntoh to copy ktc_principal structs
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 22 Jul 2009 21:40:13 +0000 (22:40 +0100)
committerDerrick Brashear <shadow@dementia.org>
Thu, 23 Jul 2009 17:34:25 +0000 (10:34 -0700)
commitc9f313ba6a26a0a21632b439e690efefc4e7c260
treeac4dbcb5730d163dfc13093f4e3b95db9d606e45
parent889907ebd1f6bac883d116d2754b1cb599fec23c
Do not call principal_ntoh to copy ktc_principal structs

principal_ntoh() is designed for butc_principal structures, which are a
different size from ktc_principal structures, and so it can't be used to
copy them.

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/185
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/budb/struct_ops.c