[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 коммит произвёл Kazuki Yamaguchi
Родитель 81325db5f8
Коммит be1e88a277
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

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