Squashed 'librocksdb-sys/rocksdb/' changes from 4de4c7d0d..56e77c4c6

56e77c4c6 fix for android build

git-subtree-dir: librocksdb-sys/rocksdb
git-subtree-split: 56e77c4c668714ed3545b010518dd73721f6d3af
master
Niko PLP 1 year ago
parent 65eeca5272
commit fa130cdce6
  1. 4
      plugin/openssl/openssl_provider.cc

@ -119,7 +119,9 @@ OpensslCipherStream::~OpensslCipherStream() {
} }
Status OpensslCipherStream::handleErrors(const char * str) { Status OpensslCipherStream::handleErrors(const char * str) {
# ifndef OPENSSL_NO_STDIO
ERR_print_errors_fp(stderr); ERR_print_errors_fp(stderr);
# endif
if (ctx_ != nullptr) { if (ctx_ != nullptr) {
EVP_CIPHER_CTX_free(ctx_); EVP_CIPHER_CTX_free(ctx_);
ctx_ = nullptr; ctx_ = nullptr;
@ -228,7 +230,9 @@ std::unique_ptr<EncryptionProvider> OpensslProvider::CreateProvider() {
} }
Status OpensslProvider::handleErrors (const char * str) const { Status OpensslProvider::handleErrors (const char * str) const {
# ifndef OPENSSL_NO_STDIO
ERR_print_errors_fp(stderr); ERR_print_errors_fp(stderr);
# endif
return Status::Aborted(str); return Status::Aborted(str);
} }

Loading…
Cancel
Save