summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgartens <41197811+gartens@users.noreply.github.com>2024-06-11 19:12:23 +0200
committergit <svn-admin@ruby-lang.org>2024-06-11 17:12:28 +0000
commitc735f4947ee0fd770f01a64e83faabefe005e9d4 (patch)
treea5876468d10939a1cbf31480ca26e837102de1f8 /include
parent39019b6a63b935d8bd75e46ff82a31e174b1bf85 (diff)
[ruby/openssl] Pass through nil as digest when signing certificates
(https://github.com/ruby/openssl/pull/761) In order to sign certificates with Ed25519 keys, NULL must be passed as md to X509_sign. This NULL is then passed (via ASN1_item_sign_ex) as type to EVP_DigestSignInit. The documentation[1] of EVP_DigestSignInit states that type must be NULL for various key types, including Ed25519. [1]: https://www.openssl.org/docs/manmaster/man3/EVP_DigestSignInit.html https://github.com/ruby/openssl/commit/b0fc100091
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions