update go.mod

This commit is contained in:
2024-03-10 14:10:01 +08:00
parent a81d74ac45
commit 48f630564f
6 changed files with 70 additions and 23 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func (c *ClientConn) readTUMessage() {
}
func (c *ClientConn) rsaDecode(message Message) {
privKey, err := starcrypto.DecodePrivateKey(c.handshakeRsaKey, "")
privKey, err := starcrypto.DecodeRsaPrivateKey(c.handshakeRsaKey, "")
if err != nil {
fmt.Println(err)
message.Reply([]byte("failed"))