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:07:12 +0900 |
commit | 0d289f19724d88e4bebeee20cd1dfc55b61a86c9 (patch) | |
tree | e4067e9e8163631f8e55640868bf6846bdd0b664 /lib/rexml/rexml.rb | |
parent | c4030a10535232988bf597759278f700d82f104b (diff) | |
download | ruby-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 'lib/rexml/rexml.rb')
0 files changed, 0 insertions, 0 deletions