aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-24 03:27:13 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-27 23:07:42 +0900
commit42d3bc06bec665e96e6eda02d13036e524975a4b (patch)
tree5cba3e92557dbfa8a380b05707580b747f7f04bf /rational.c
parent7046ca938defcf8bc11b8f053a3f70a0c3a9766c (diff)
downloadruby-42d3bc06bec665e96e6eda02d13036e524975a4b.tar.gz
ext/openssl: avoid SEGV on Cipher.new("ChaCha20-Poly1305")
A temporary workaround. EVP_CipherInit_ex() allows to specify NULL to key and/or iv, however when we use ChaCha20-Poly1305 and set only key (this case), it does memcpy(x, NULL, y) and this causes a segmentation fault.
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions