diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2021-02-16 18:21:51 +0900 |
|---|---|---|
| committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-07-18 17:45:02 +0900 |
| commit | 3d37e5d11cdf02ed433493126e195e194d4000dc (patch) | |
| tree | 6aad8033503059b5e42e7f31547fdd7ed0c33b13 /spec/ruby/core | |
| parent | 5fc2912e60c2bc58ff486d3f23f654f742332d3f (diff) | |
[ruby/openssl] Add OpenSSL::BN#set_flags and #get_flags
Also, OpenSSL::BN::CONSTTIME is added.
OpenSSL itself had a feature that was vulnerable against a side-channel
attack. The OpenSSL authors determined that it was not a security issue,
and they have already fixed the issue by using BN_set_flags.
https://github.com/openssl/openssl/pull/13888
If a Ruby OpenSSL user was faced with a similar issue, they couldn't
prevent the issue because Ruby OpenSSL lacks a wrapper to BN_set_flags.
For the case, this change introduces the wrapper.
https://github.com/ruby/openssl/commit/1e565eba89
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
