Fix pcr-reader

This commit is contained in:
katexochen 2022-09-12 17:26:42 +02:00 committed by Paul Meyer
parent 1357dc3d4e
commit ddabf974d5

View File

@ -70,6 +70,8 @@ func main() {
type Measurements map[uint32][]byte type Measurements map[uint32][]byte
var _ yaml.Marshaler = Measurements{}
// MarshalYAML forces that measurements are written as base64. Default would // MarshalYAML forces that measurements are written as base64. Default would
// be to print list of bytes. // be to print list of bytes.
func (m Measurements) MarshalYAML() (interface{}, error) { func (m Measurements) MarshalYAML() (interface{}, error) {