aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.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:07:12 +0900
commit0d289f19724d88e4bebeee20cd1dfc55b61a86c9 (patch)
treee4067e9e8163631f8e55640868bf6846bdd0b664 /eval_error.c
parentc4030a10535232988bf597759278f700d82f104b (diff)
downloadruby-fix/openssl-segv-free.tar.gz
ext/openssl: some trivial cleanupsfix/openssl-segv-free
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 'eval_error.c')
0 files changed, 0 insertions, 0 deletions