mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/openssl] Fix typo in documentation
The socket is called ssl_connection, not connection https://github.com/ruby/openssl/commit/642783aeda
This commit is contained in:
parent
81325db5f8
commit
be1e88a277
Notes:
git
2021-03-16 20:38:47 +09:00
1 changed files with 3 additions and 3 deletions
|
@ -1072,13 +1072,13 @@ ossl_crypto_fixed_length_secure_compare(VALUE dummy, VALUE str1, VALUE str2)
|
|||
* 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
|
||||
|
|
Loading…
Reference in a new issue