Skip to content

Commit

Permalink
Fix typo in documentation
Browse files Browse the repository at this point in the history
The socket is called ssl_connection, not connection
  • Loading branch information
cmol authored and ioquatix committed Jul 23, 2020
1 parent 2fc6f94 commit 642783a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/openssl/ossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1069,13 +1069,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
Expand Down

0 comments on commit 642783a

Please sign in to comment.