summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/openssl/ssl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/lib/openssl/ssl.rb')
-rw-r--r--ext/openssl/lib/openssl/ssl.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb
index e4349419133..39d975b1c88 100644
--- a/ext/openssl/lib/openssl/ssl.rb
+++ b/ext/openssl/lib/openssl/ssl.rb
@@ -29,10 +29,21 @@ module OpenSSL
@io.peeraddr
end
+ def getsockopt(level, optname, optval)
+ @io.setsockopt(level, optname, optval)
+ end
+
+ def setsockopt(level, optname)
+ @io.setsockopt(level, optname)
+ end
+
+ def fcntl(*args)
+ @io.fcntl(*args)
+ end
+
def closed?
@io.closed?
end
end
end
end
-