update go.mod
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user