Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handshake error : remote error: tls: protocol version not supported #197

Open
RunningFaster opened this issue Nov 29, 2023 · 0 comments
Open

Comments

@RunningFaster
Copy link

发布的 https://pkg.go.dev/github.com/tjfoc/gmsm

gm_handshake_client_double.go 这个文件的

hello := &clientHelloMsg{ vers: config.GMSupport.GetVersion(), compressionMethods: []uint8{compressionNone}, random: make([]byte, 32), }

这里少一行 serverName的赋值。。。导致下方错误:

handshake error : remote error: tls: protocol version not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant