Unverified Commit 2419b861 authored by David Benjamin's avatar David Benjamin Committed by Gibson Fahnestock
Browse files

crypto: make SignBase compatible with OpenSSL 1.1.0

1.1.0 requires EVP_MD_CTX be heap-allocated. In doing so, move the Init
and Update hooks to shared code because they are the same between Verify
and Sign.

PR-URL: https://github.com/nodejs/node/pull/16130
Backport-PR-URL: https://github.com/nodejs/node/pull/18622


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 0ef35a13
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment