* tlsConfigStatus.usable is public, renamed ("ValidPair") and is exported to json ("valid_pair")

This commit is contained in:
Simon Zolin
2019-02-27 17:36:02 +03:00
parent f4a6ca726c
commit 5ad9f8ead2
5 changed files with 8 additions and 4 deletions

View File

@@ -1227,7 +1227,7 @@ func validateCertificates(certChain, pkey, serverName string) tlsConfigStatus {
data.WarningValidation = fmt.Sprintf("Invalid certificate or key: %s", err)
return data
}
data.usable = true
data.ValidPair = true
}
return data