Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97ef6f4

Browse filesBrowse files
author
nahi
committed
* ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid
warning at SSLSocket#connect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 0dd8db8 commit 97ef6f4
Copy full SHA for 97ef6f4

File tree

Expand file treeCollapse file tree

2 files changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-0
lines changed

‎ChangeLog

Copy file name to clipboardExpand all lines: ChangeLog
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Wed Dec 2 23:51:28 2009 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
2+
3+
* ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid
4+
warning at SSLSocket#connect.
5+
16
Tue Dec 1 18:01:43 2009 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
27

38
* test/digest/test_digest_extend.rb: added tests for digest framework.

‎ext/openssl/ossl_ssl.c

Copy file name to clipboardExpand all lines: ext/openssl/ossl_ssl.c
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,9 @@ ossl_ssl_initialize(int argc, VALUE *argv, VALUE self)
963963
ossl_ssl_set_ctx(self, ctx);
964964
ossl_ssl_set_sync_close(self, Qfalse);
965965
ossl_sslctx_setup(ctx);
966+
967+
rb_iv_set(self, "@hostname", Qnil);
968+
966969
rb_call_super(0, 0);
967970

968971
return self;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.