Skip to content

crypto: use openssl's own memory BIOs in crypto_context.cc

Rodrigo Muino Tomonari requested to merge github/fork/GauriSpears/main into main

NodeBIO's memory buffer structure does not support BIO_C_FILE_SEEK and B IO_C_FILE_TELL. This prevents OpenSSL PEM_read_bio_PrivateKey from readi ng some private keys. So I switched to OpenSSL's own protected memory bu ffers.

Fixes: https://github.com/nodejs/node/issues/47008

Merge request reports

Loading