Skip to content

Commit 642783a

Browse files
cmolioquatix
authored andcommitted
Fix typo in documentation
The socket is called ssl_connection, not connection
1 parent 2fc6f94 commit 642783a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/openssl/ossl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,13 +1069,13 @@ ossl_crypto_fixed_length_secure_compare(VALUE dummy, VALUE str1, VALUE str2)
10691069
* loop do
10701070
* ssl_connection = ssl_server.accept
10711071
*
1072-
* data = connection.gets
1072+
* data = ssl_connection.gets
10731073
*
10741074
* response = "I got #{data.dump}"
10751075
* puts response
10761076
*
1077-
* connection.puts "I got #{data.dump}"
1078-
* connection.close
1077+
* ssl_connection.puts "I got #{data.dump}"
1078+
* ssl_connection.close
10791079
* end
10801080
*
10811081
* === SSL client

0 commit comments

Comments
 (0)