Revert "perf build: Suppress openssl v3 deprecation warnings in libcrypto feature test"
Bugzilla: https://bugzilla.redhat.com/2123229 upstream ======== commit 73f8ec5992d17a5431b7a2d123097981dbaa4769 Author: Arnaldo Carvalho de Melo <acme@redhat.com> Date: Tue Aug 9 16:23:53 2022 -0300 description =========== This reverts commit 10fef869a58e37ec649b61eddab545f2da57a79b. Because a proper fix was submitted. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Michael Petlan <mpetlan@redhat.com>
This commit is contained in:
parent
a1bfba2daa
commit
953afe9a4c
|
@ -2,12 +2,6 @@
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* The MD5_* API have been deprecated since OpenSSL 3.0, which causes the
|
|
||||||
* feature test to fail silently. This is a workaround.
|
|
||||||
*/
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
MD5_CTX context;
|
MD5_CTX context;
|
||||||
|
|
Loading…
Reference in New Issue