aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-15 14:15:42 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-16 20:06:45 +0900
commit17acaf7c1c707d8862949ef4445129cb6d63b4b7 (patch)
tree35a4159ae2c5c1752f9ba08548f7bd06911f7248 /symbol.c
parent4bdd207b1a2ed20626c502cfc083d4f2d4969bcb (diff)
downloadruby-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 'symbol.c')
0 files changed, 0 insertions, 0 deletions