Commit 146e8f83 authored by David Benjamin's avatar David Benjamin Committed by Rod Vagg
Browse files

crypto: make CipherBase 1.1.0-compatible

In OpenSSL 1.1.0, EVP_CIPHER_CTX must be heap-allocated. Once we're
heap-allocating them, there's no need in a separate initialised_ bit.
The presence of ctx_ is sufficient.

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


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 706ad8f8
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