diff options
-rw-r--r-- | vespalib/src/vespa/vespalib/net/tls/impl/openssl_tls_context_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_tls_context_impl.cpp b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_tls_context_impl.cpp index 07aea12a02a..fec11c9d18e 100644 --- a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_tls_context_impl.cpp +++ b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_tls_context_impl.cpp @@ -478,7 +478,7 @@ void OpenSslTlsContextImpl::set_ssl_ctx_self_reference() { void OpenSslTlsContextImpl::set_accepted_cipher_suites(const std::vector<vespalib::string>& ciphers) { vespalib::string openssl_ciphers; size_t bad_ciphers = 0; - for (auto& iana_cipher : ciphers) { + for (const auto& iana_cipher : ciphers) { auto our_cipher = iana_cipher_suite_to_openssl(iana_cipher); if (our_cipher) { if (!openssl_ciphers.empty()) { |