Commit 13f06e0
committed
Fixes problem with sign requiring a HashcheckTicket.
- This fixes #475 by making the HashcheckTicket that was
previously required in the ```sign``` context method
optional instead. If it is ```None``` it is then internally
converted into the HashcheckTicket version of the `Null ticket`
before being converted to the corresponding TSS type.
This has the benefit of removing the need to use the TSS type in
order to create a `Null ticket`.
Signed-off-by: Jesper Brynolf <[email protected]>1 parent 9c7eb46 commit 13f06e0
File tree
3 files changed
+58
-11
lines changed- tss-esapi/src
- context/tpm_commands
- structures
- utils
3 files changed
+58
-11
lines changedLines changed: 53 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
43 | 94 | | |
44 | 95 | | |
45 | 96 | | |
46 | 97 | | |
47 | 98 | | |
48 | | - | |
| 99 | + | |
49 | 100 | | |
50 | 101 | | |
51 | | - | |
| 102 | + | |
52 | 103 | | |
53 | 104 | | |
54 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
0 commit comments