aboutsummaryrefslogtreecommitdiff
path: root/ssh/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/messages.go')
-rw-r--r--ssh/messages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/messages.go b/ssh/messages.go
index 251b9d0..ab22c3d 100644
--- a/ssh/messages.go
+++ b/ssh/messages.go
@@ -792,7 +792,7 @@ func marshalString(to []byte, s []byte) []byte {
return to[len(s):]
}
-var bigIntType = reflect.TypeOf((*big.Int)(nil))
+var bigIntType = reflect.TypeFor[*big.Int]()
// Decode a packet into its corresponding message.
func decode(packet []byte) (interface{}, error) {