Commit 4f177a6
committed
fix(go-sdk): reject unknown report types in TCB validation
Add default case to validateTCB switch to reject unknown report types
instead of silently passing. Unlike Rust's exhaustive match on the
Report enum, Go's string-based switch would skip all checks for any
new or unexpected report type.1 parent 02a354f commit 4f177a6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
0 commit comments