summaryrefslogtreecommitdiff
path: root/lib/net/ssh/buffer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/ssh/buffer.rb')
-rw-r--r--lib/net/ssh/buffer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/buffer.rb b/lib/net/ssh/buffer.rb
index 0fe4e56..b27fc5d 100644
--- a/lib/net/ssh/buffer.rb
+++ b/lib/net/ssh/buffer.rb
@@ -5,7 +5,6 @@ require 'net/ssh/authentication/ed25519_loader'
module Net
module SSH
-
# Net::SSH::Buffer is a flexible class for building and parsing binary
# data packets. It provides a stream-like interface for sequentially
# reading data items from the buffer, as well as a useful helper method
@@ -237,6 +236,7 @@ module Net
def read_bignum
data = read_string
return unless data
+
OpenSSL::BN.new(data, 2)
end