@@ -19,9 +19,6 @@ import (
1919
2020// ////////////////////////////////////////////////////////////////////////////////// //
2121
22- // VERSION is current package version
23- const VERSION = "13.1.5"
24-
2522const (
2623 API_URL_INFO = "https://api.ssllabs.com/api/v3/info"
2724 API_URL_ANALYZE = "https://api.ssllabs.com/api/v3/analyze"
@@ -205,7 +202,7 @@ type AnalyzeInfo struct {
205202}
206203
207204type EndpointInfo struct {
208- IPAdress string `json:"ipAddress"` // endpoint IP address, in IPv4 or IPv6 format
205+ IPAddress string `json:"ipAddress"` // endpoint IP address, in IPv4 or IPv6 format
209206 ServerName string `json:"serverName"` // server name retrieved via reverse DNS
210207 StatusMessage string `json:"statusMessage"` // assessment status message
211208 StatusDetails string `json:"statusDetails"` // code of the operation currently in progress
@@ -736,15 +733,15 @@ func formatBoolParam(v bool) string {
736733func getUserAgent (app , version string ) string {
737734 if app != "" && version != "" {
738735 return fmt .Sprintf (
739- "%s/%s SSLScan/%s (go; %s; %s-%s)" ,
740- app , version , VERSION , runtime .Version (),
736+ "%s/%s SSLScan/13 (go; %s; %s-%s)" ,
737+ app , version , runtime .Version (),
741738 runtime .GOARCH , runtime .GOOS ,
742739 )
743740 }
744741
745742 return fmt .Sprintf (
746- "SSLScan/%s (go; %s; %s-%s)" ,
747- VERSION , runtime .Version (),
743+ "SSLScan/13 (go; %s; %s-%s)" ,
744+ runtime .Version (),
748745 runtime .GOARCH , runtime .GOOS ,
749746 )
750747}
0 commit comments