summaryrefslogtreecommitdiff
path: root/lib/net/ssh/buffer.rb
diff options
context:
space:
mode:
authorFlorian Wininger <florian@cyberwatch.fr>2021-07-01 22:17:46 +0200
committerFlorian Wininger <florian@cyberwatch.fr>2021-07-01 22:17:46 +0200
commitb11dc6e755bbc03058bb12c623961a0695538fb0 (patch)
tree567f524185abc09ec6bb2a6a593b5a4abb78393d /lib/net/ssh/buffer.rb
parent093a84100e51365db9680d8ebd0755a4f1ebb455 (diff)
downloadnet-ssh-b11dc6e755bbc03058bb12c623961a0695538fb0.tar.gz
Fix empty line for code clarity
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