diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2025-09-16 19:29:08 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-09-17 12:18:17 +0000 |
| commit | 08e7b5f2bdef276c7ea65fa3b01f53c1062acf8d (patch) | |
| tree | 4e74dfd8ecf60188b18975735c18e83f5d9dfb93 /test/ruby/test_variable.rb | |
| parent | 9c85a94f5f1b553ccac3e7f232087424d1854f97 (diff) | |
[ruby/openssl] Revert "pkey: stop retrying after non-retryable error from OSSL_DECODER"
This reverts commit https://github.com/ruby/openssl/commit/5347880c6eb0 and
https://github.com/ruby/openssl/commit/985ba27d6339.
These commits attempted to stop processing after the first relevant PEM
block, whether it is successful or not, when the input contains multiple
keys.
It turned out that it cannot be reliably determined using the
OSSL_DECODER API. There is an edge case where OSSL_DECODER_from_bio()
reports "unsupported" even though the input actually contains an error:
https://redirect.github.com/ruby/openssl/pull/931#discussion_r2347813807
Revert the changes for now and keep the existing behavior, as partial
support does not seem worth the added complexity.
https://github.com/ruby/openssl/commit/319cd4952a
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions
