dtls: Disable OpenSSL 3.0 deprecation warnings for now
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 25 May 2022 10:33:22 +0000 (16:03 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 30 Jul 2022 11:27:12 +0000 (11:27 +0000)
commit11ecda9d73c5cd80f0b1ae3dd8a276af2c6e8dc1
tree4527b875c189607a6a5fda0d1e4005bc5e221948
parentdb28c81ee3e048041314017e2ec3b0484dc40ee5
dtls: Disable OpenSSL 3.0 deprecation warnings for now

Fedora 36 ships with OpenSSL 3.0, which deprecates all low-level APIs,
so this code needs to be rewritten. There is no easy fix in the
porting guide, and it recommends disabling the warnings if you can't
use the high-level API.

https://wiki.openssl.org/index.php/OpenSSL_3.0#Upgrading_to_OpenSSL_3.0_from_OpenSSL_1.1.1

Here's the replacement API:

https://www.openssl.org/docs/man3.0/man7/migration_guide.html#Deprecated-low-level-object-creation

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2494>
subprojects/gst-plugins-bad/ext/dtls/gstdtlscertificate.c