]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
build: Silence deprecation warnings from OpenSSL 3
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 18 May 2022 22:06:01 +0000 (18:06 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 14 Aug 2022 17:27:55 +0000 (19:27 +0200)
commitf48ace075ab7ec6071f5e8bde0e13ca37953d924
treed90e044d015d85ade4eee20ac08df23dd32b25ca
parentd8f610b9643f0ffafccdb67ab38e9c66321a77ae
build: Silence deprecation warnings from OpenSSL 3

The OpenSSL developers suggest that anyone wishing to continue using
low-level functions may either live with the warnings, silence them,
or switch to high level functions.

As high level functions do their own memory allocation, switching to
them may lead to performance regressions.

We do not wish to have deprecation warnings filling up our compiler
outputs when searching for other messages.

So silencing the warnings, at least for now, seems the least bad option.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit d5e1fdfc3cfd15b59e0e8fe2408c995b0cc8c0e7)
src/auth/Crypto.cc
src/common/ceph_crypto.cc
src/common/ceph_crypto.h
src/common/openssl_opts_handler.cc
src/rgw/rgw_rest_sts.h