diff options
author | Claus Lensbøl <cmol@cmol.dk> | 2020-07-23 14:52:10 +0200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-07-24 01:25:46 +1200 |
commit | 642783aeda871fb7878df6613d1e99f0f84828c4 (patch) | |
tree | a6c284bd1b5fdc620811fe6b08be51a5b262aa72 /ext | |
parent | 2fc6f94ef7e3f6b3ca487b6842c3ce625b806d19 (diff) | |
download | ruby-openssl-642783aeda871fb7878df6613d1e99f0f84828c4.tar.gz |
Fix typo in documentation
The socket is called ssl_connection, not connection
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index bb8fecb9..523d72e2 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -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 |