lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 9 Jun 2022 21:31:44 +0200
From:   Sedat Dilek <sedat.dilek@...il.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Willy Tarreau <w@....eu>, Kees Cook <keescook@...omium.org>,
        keyrings@...r.kernel.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Salvatore Bonaccorso <carnil@...ian.org>,
        David Woodhouse <dwmw2@...radead.org>,
        David Howells <dhowells@...hat.com>,
        Tasmiya Nalatwad <tasmiya@...ux.vnet.ibm.com>,
        James Bottomley <James.Bottomley@...senpartnership.com>
Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14
 and OpenSSL v3.0.x

On Thu, Jun 9, 2022 at 9:25 PM Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>
> On Thu, Jun 9, 2022 at 12:23 PM Willy Tarreau <w@....eu> wrote:
> >
> > IIRC you can also disable the deprecation warnings by defining the
> > OPENSSL_SUPPRESS_DEPRECATED macro. It doesn't require to change the
> > compiler's options and allows us to put our head in the sand.
>
> That one had the downside that you have to know what you're doing to
> make such a change ;)
>
> I just wanted to be able to start doing pulls again after mistakenly
> thinking that an upgrade would be pain-free.
>

My first approach in making this work....

>From 3b019a241a72742c7f239965ed92385e9ffd9ed3 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@...il.com>
Date: Fri, 27 May 2022 09:25:45 +0200
Subject: [PATCH] extract-cert: Suppress warnings with OpenSSL v3 API

Signed-off-by: Sedat Dilek <sedat.dilek@...il.com>
---
certs/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/certs/Makefile b/certs/Makefile
index d8443cfb1c40..52f71f0925e2 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -75,4 +75,5 @@ targets += x509_revocation_list
hostprogs := extract-cert

HOSTCFLAGS_extract-cert.o = $(shell pkg-config --cflags libcrypto 2> /dev/null)
+HOSTCFLAGS_extract-cert.o += -Wno-deprecated-declarations
HOSTLDLIBS_extract-cert = $(shell pkg-config --libs libcrypto 2>
/dev/null || echo -lcrypto)
--
2.36.1

...before looking through the Wild Wild Web for fixes.

-Sedat-

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ