Skip to content
Snippets Groups Projects
Commit 3918f642 authored by ale's avatar ale
Browse files

Fix TLS RPT report parser by ignoring the 'mx-host' field

It can be either a scalar or a list, skip parsing it for now as it is unused.
parent 2b9ffcc0
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,10 @@ type tlsrptPolicy struct {
Type string `json:"policy-type"`
Policy []string `json:"policy-string"`
Domain string `json:"policy-domain"`
Mx string `json:"mx-host"`
// TODO: apparently the following field can be a
// scalar or an array. Drop it for now as we're not
// using it.
//Mx []string `json:"mx-host"`
} `json:"policy"`
Summary struct {
NumSuccessful int `json:"total-successful-session-count"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment