diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-13 13:44:36 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-13 19:02:02 +0900 |
commit | 91c1af869b7aa57a0bc08f1105aa874071902f7f (patch) | |
tree | b12a4b3a4b4a3bd538a8e9339fa21764ebe3e13d /test/test_cipher.rb | |
parent | 442e14524a53d7016ac3593a5d973f95c340aff0 (diff) | |
download | ruby-openssl-91c1af869b7aa57a0bc08f1105aa874071902f7f.tar.gz |
ssl: fix memory leak in SSLContext#ecdh_curves=
SSL_CTX_set_tmp_ecdh() increments the reference counter of EC_KEY so we
must decrement with EC_KEY_free().
Fixes: fcb9b4a6b5c6 (openssl: add SSLContext#ecdh_curves=)
Diffstat (limited to 'test/test_cipher.rb')
0 files changed, 0 insertions, 0 deletions