summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-12-21 22:52:52 +0000
committerGreg Hudson <ghudson@mit.edu>2011-12-21 22:52:52 +0000
commitedc26c35049615ec634979738ca4d3e3759e9ad8 (patch)
treeab48defdbe3cc321cf4d4b4948dc771d2e2bcbb9 /src/include/krb5
parent02fff47a6ff9f322431d8c2d50fa463973ec19fd (diff)
downloadkrb5-edc26c35049615ec634979738ca4d3e3759e9ad8.tar.gz
krb5-edc26c35049615ec634979738ca4d3e3759e9ad8.tar.xz
krb5-edc26c35049615ec634979738ca4d3e3759e9ad8.zip
Stop using krb5_typed_data structure type
Use the krb5_pa_data structure type when encoding or decoding TYPED-DATA. Leave the krb5_typed_data structure definition in krb5.h with a comment saying not to use it. Remove krb5_free_typed_data (which was never declared in krb5.h). Remove some vestigial accessor stuff related to PKINIT encoding and decoding TYPED-DATA, which was unneeded since r25483. Bump the accessor structure version to 19 accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25601 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/krb5.hin7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index d5524255e4..a363eaff42 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -1972,12 +1972,7 @@ typedef struct _krb5_pa_data {
krb5_octet *contents; /**< Data */
} krb5_pa_data;
-/*
- * The FAST error handling logic currently assumes that pointers to this
- * structure and krb5_pa_data can be safely cast to each other. If this
- * structure changes, that code needs to be updated to copy.
- */
-/** Typed data */
+/* Don't use this; use krb5_pa_data instead. */
typedef struct _krb5_typed_data {
krb5_magic magic;
krb5_int32 type;