Standard library / crypto/tls
tls.VersionSSL30
Numeric identifier for SSL30. Use MinVersion and MaxVersion for version policy. Obsolete protocol; identifier only, do not enable. The example prints the numeric identifier, not a negotiated value. Expected stdout: '768\n'.
Formal Syntax & Structure
go syntaxgo
const VersionSSL30 = 768Working Example
Example Snippetgo
package main
import ( "crypto/tls" "fmt")
func main() { fmt.Println(uint16(tls.VersionSSL30)) }
func must[T any](v T, e error) T { if e != nil { panic(e) } return v}func check(e error) { if e != nil { panic(e) }}