summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_pkey.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-11-03 23:31:29 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-12-20 23:42:00 +0900
commit582606dc58d51d333e30860c1f2cea7a6774c7f8 (patch)
tree05a93c16ef29e027aa94dc24024d55f0694d445f /ext/openssl/ossl_pkey.c
parent1c72c95d999040dbe9399d3687d8e52f654aa5bf (diff)
[ruby/openssl] pkey: test parsing concatenated PEM string
PEM-encoded private keys are sometimes stored together with irrelevant PEM blocks, such as the corresponding X.509 certificate. PEM_read_bio_*() family automatically skips unknown PEM blocks, but on OpenSSL 3.0 we will be using the new OSSL_DECODER API instead due to some breaking changes around the password callback. Let's add a test case so that we won't break the current behavior. https://github.com/ruby/openssl/commit/8c185e0ae5
Diffstat (limited to 'ext/openssl/ossl_pkey.c')
0 files changed, 0 insertions, 0 deletions