ruby-changes:65469
From: Claus <ko1@a...>
Date: Tue, 16 Mar 2021 20:39:29 +0900 (JST)
Subject: [ruby-changes:65469] be1e88a277 (master): [ruby/openssl] Fix typo in documentation
https://git.ruby-lang.org/ruby.git/commit/?id=be1e88a277 From be1e88a277a76d614070587e9cc3b4bda92a3670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20Lensb=C3=B8l?= <cmol@c...> Date: Thu, 23 Jul 2020 14:52:10 +0200 Subject: [ruby/openssl] Fix typo in documentation The socket is called ssl_connection, not connection https://github.com/ruby/openssl/commit/642783aeda --- ext/openssl/ossl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index b64f1e0..7bdf3a2 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -1072,13 +1072,13 @@ ossl_crypto_fixed_length_secure_compare(VALUE dummy, VALUE str1, VALUE str2) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl.c#L1072 * loop do * ssl_connection = ssl_server.accept * - * data = connection.gets + * data = ssl_connection.gets * * response = "I got #{data.dump}" * puts response * - * connection.puts "I got #{data.dump}" - * connection.close + * ssl_connection.puts "I got #{data.dump}" + * ssl_connection.close * end * * === SSL client -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/