mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
BoringSSL is updating SSL_get_ciphers and SSL_CTX_get_ciphers to return const STACK_OF(SSL_CIPHER)* instead of a non-const pointer. Declare the local ciphers variable in SSLPointer::getCiphers as const so it builds cleanly against both OpenSSL and BoringSSL. Refs: https://crbug.com/550501994 Signed-off-by: Lily Chen <chlily@google.com> PR-URL: https://github.com/nodejs/node/pull/67443 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Node.js crypto (ncrypto) library
The ncrypto library extracts the base internal implementation of Node.js crypto operations
that support both node:crypto and Web Crypto implementations and makes them available for
use in other projects that need to emulate Node.js' behavior.