Commit cccc33b0 authored by Sam Roberts's avatar Sam Roberts
Browse files

src: const_cast is necessary for 1.1.1, not 0.9.7

The const_cast used to be necessary for SSL_get_app_data() in OpenSSL
0.9.7, but node doesn't compile against OpenSSL versions that old.
However, now it's needed for the recently introduced
SSL_renegotiate_pending(), which is not const-correct as of 1.1.1a.

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


Reviewed-By: default avatarFedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 80f92cf9
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