diff options
author | Philip Tricca <philip.b.tricca@intel.com> | 2018-03-15 17:22:10 -0700 |
---|---|---|
committer | Philip Tricca <philip.b.tricca@intel.com> | 2018-03-16 07:25:21 -0700 |
commit | 57360da0a31711aeb883092028568c92f815ac36 (patch) | |
tree | b2abcf7ae93e82348e19d07d005131d5b871c5f7 /include | |
parent | 01bdf72ece8b6003bbffa7039d48b5dce2dda244 (diff) | |
download | tpm2-tss-57360da0a31711aeb883092028568c92f815ac36.tar.gz |
headers: Move TPM2B type from tss2_common.h to $(srcdir)/src/util.
This type isn't in the common header spec, or any TSS2 spec so it
definitely doesn't belong in any of the headers that get installed.
Since this is a type used by tss2-mu, sys and esys it now lives in
$(srcdir)/src/util/tpm2b.h.
To distribute this header in source tarballs via `make dist` it must be
added to the util library's SOURCE variable. To make this easier in the
future this commit adds code to the `bootstrap` script that populates
the UTIL_SRC variable with all source files under `$(srcdir)/src/util.`
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tss2/tss2_common.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/tss2/tss2_common.h b/include/tss2/tss2_common.h index 12353b71..533b6541 100644 --- a/include/tss2/tss2_common.h +++ b/include/tss2/tss2_common.h @@ -47,11 +47,6 @@ typedef int32_t INT32; typedef uint64_t UINT64; typedef int64_t INT64; -typedef struct { - UINT16 size; - BYTE buffer[1]; -} TPM2B; - /* * ABI runtime negotiation definitions */ |