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

Function DisableOpenSSLInitialization

be/src/kudu/util/openssl_util.cc:285–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285Status DisableOpenSSLInitialization() {
286 if (g_disable_ssl_init) return Status::OK();
287 if (g_ssl_is_initialized) {
288 return Status::IllegalState("SSL already initialized. Initialization can only be disabled "
289 "before first usage.");
290 }
291 RETURN_NOT_OK(CheckOpenSSLInitialized());
292 g_disable_ssl_init = true;
293 return Status::OK();
294}
295
296void InitializeOpenSSL() {
297 static std::once_flag ssl_once;

Callers 1

InitAuthFunction · 0.85

Calls 3

OKFunction · 0.85
IllegalStateFunction · 0.85
CheckOpenSSLInitializedFunction · 0.85

Tested by

no test coverage detected