MCPcopy Create free account
hub / github.com/apache/impala / IsExternalTlsConfigured

Function IsExternalTlsConfigured

be/src/util/openssl-util.cc:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool 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.

Callers 3

impala-server.ccFile · 0.85
StartMethod · 0.85
InitMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected