1
0
Fork 0
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:
Claus Lensbøl 2020-07-23 14:52:10 +02:00 committed by Kazuki Yamaguchi
parent 81325db5f8
commit be1e88a277
Notes: git 2021-03-16 20:38:47 +09:00

View file

@ -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