diff options
author | Claus Lensbøl <[email protected]> | 2020-07-23 14:52:10 +0200 |
---|---|---|
committer | Kazuki Yamaguchi <[email protected]> | 2021-03-16 19:16:11 +0900 |
commit | be1e88a277a76d614070587e9cc3b4bda92a3670 (patch) | |
tree | 952319caa01c6963c5192b04f7f856e693246e37 /ext/openssl/ossl.c | |
parent | 81325db5f8bcd8c3e964ff6285792c2cade29b2c (diff) |
[ruby/openssl] Fix typo in documentation
The socket is called ssl_connection, not connection
https://github.com/ruby/openssl/commit/642783aeda
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'ext/openssl/ossl.c')
-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 b64f1e0e34..7bdf3a2ef0 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -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 |