| 124 | } |
| 125 | |
| 126 | bool IsExternalTlsConfigured() { |
| 127 | // If the ssl_server_certificate is set, then external TLS is configured, i.e. external |
| 128 | // clients can talk to Impala at least over unauthenticated TLS. |
| 129 | return !FLAGS_ssl_server_certificate.empty() && !FLAGS_ssl_private_key.empty(); |
| 130 | } |
| 131 | |
| 132 | /// Wrapper around EVP_CIPHER_CTX that automatically cleans up the context |
| 133 | /// when it is destroyed. This helps avoid leaks like IMPALA-7145. |
no test coverage detected