Skip to content

Commit 73c7cae

Browse files
committed
Provide better string for unknown TLS suite IDs
1 parent a1d7f59 commit 73c7cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

credentials/tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func cipherSuiteLookup(cipherSuiteID uint16) string {
5858
return suites[i].Name
5959
}
6060
}
61-
return ""
61+
return fmt.Sprintf("unknown ID: %v", cipherSuiteID)
6262
}
6363

6464
// GetSecurityValue returns security info requested by channelz.

0 commit comments

Comments
 (0)