aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_engine.h
diff options
context:
space:
mode:
authorgartens <41197811+gartens@users.noreply.github.com>2024-06-11 19:12:23 +0200
committerGitHub <noreply@github.com>2024-06-12 02:12:23 +0900
commitb0fc100091207d7eab20a349433ccbd8260c6ddd (patch)
treecda717a9b023cb4859184c5bc95a648789f6f97a /ext/openssl/ossl_engine.h
parent72d1be92edfbf5ad8b99bae61230e72694cc61bb (diff)
downloadruby-openssl-master.tar.gz
Pass through nil as digest when signing certificates (#761)HEADmaster
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
Diffstat (limited to 'ext/openssl/ossl_engine.h')
0 files changed, 0 insertions, 0 deletions