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

Function OpenSSLErr

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

Called upon OpenSSL errors; returns a non-OK status with an error message.

Source from the content-addressed store, hash-verified

166
167// Called upon OpenSSL errors; returns a non-OK status with an error message.
168static Status OpenSSLErr(const string& function, const string& context) {
169 stringstream errstream;
170 ERR_print_errors_cb(OpenSSLErrCallback, &errstream);
171 return Status(Substitute("OpenSSL error in $0 $1: $2", function, context, errstream.str()));
172}
173
174void SeedOpenSSLRNG() {
175 RAND_load_file("/dev/urandom", RNG_RESEED_BYTES);

Callers 3

ValidatePemBundleFunction · 0.85
ComputeMethod · 0.85
EncryptInternalMethod · 0.85

Calls 3

SubstituteFunction · 0.85
StatusClass · 0.70
strMethod · 0.45

Tested by

no test coverage detected