diff --git a/deps/ncrypto/ncrypto.cc b/deps/ncrypto/ncrypto.cc index 8fcabdf00d0..aff6f873ec0 100644 --- a/deps/ncrypto/ncrypto.cc +++ b/deps/ncrypto/ncrypto.cc @@ -5213,7 +5213,7 @@ SSLPointer SSLPointer::New(const SSLCtxPointer& ctx) { void SSLPointer::getCiphers(std::function cb) const { if (!ssl_) return; - STACK_OF(SSL_CIPHER)* ciphers = SSL_get_ciphers(get()); + const STACK_OF(SSL_CIPHER)* ciphers = SSL_get_ciphers(get()); // TLSv1.3 ciphers aren't listed by EVP. There are only 5, we could just // document them, but since there are only 5, easier to just add them manually