diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-15 14:15:42 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-16 20:06:45 +0900 |
commit | 17acaf7c1c707d8862949ef4445129cb6d63b4b7 (patch) | |
tree | 35a4159ae2c5c1752f9ba08548f7bd06911f7248 /ext/objspace/extconf.rb | |
parent | 4bdd207b1a2ed20626c502cfc083d4f2d4969bcb (diff) | |
download | ruby-fix/openssl-segv-free-just-fix-it.tar.gz |
ext/openssl: some trivial cleanupsfix/openssl-segv-free-just-fix-it
ossl_start_ssl(): specify the argument type of the function pointer
parameter 'func'.
ossl_sslctx_set_ciphers(): use StringValueCStr() because
SSL_CTX_set_cipher_list() expects NUL-terminated string.
ossl_sslctx_setup(): use just RSTRING_PTR()
ossl_ssl_shutdown(): remove an unused variable 'rc' and remove a call to
SSL_clear(). This function resets the SSL object to allow another
connection, but we don't reuse SSL object for another connection.
Diffstat (limited to 'ext/objspace/extconf.rb')
0 files changed, 0 insertions, 0 deletions