From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73AB4C742A5 for ; Fri, 12 Jul 2019 02:05:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52D5121019 for ; Fri, 12 Jul 2019 02:05:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728861AbfGLCFU (ORCPT ); Thu, 11 Jul 2019 22:05:20 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:59292 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728853AbfGLCFU (ORCPT ); Thu, 11 Jul 2019 22:05:20 -0400 Received: from imap.altlinux.org (imap.altlinux.org [194.107.17.38]) by vmicros1.altlinux.org (Postfix) with ESMTP id DFB9872CC58; Fri, 12 Jul 2019 05:05:17 +0300 (MSK) Received: from altlinux.org (sole.flsd.net [185.75.180.6]) by imap.altlinux.org (Postfix) with ESMTPSA id 4F9424A4AE8; Fri, 12 Jul 2019 05:05:17 +0300 (MSK) Date: Fri, 12 Jul 2019 05:05:16 +0300 From: Vitaly Chikunov To: Dmitry Eremin-Solenikov , linux-integrity@vger.kernel.org Subject: Re: [PATCH 1/4] ima-evm-utils: link to libcrypto instead of OpenSSL Message-ID: <20190712020516.tpinh2xk43b6xufj@altlinux.org> Mail-Followup-To: Dmitry Eremin-Solenikov , linux-integrity@vger.kernel.org References: <20190523122623.25684-1-dbaryshkov@gmail.com> <20190711150732.7xrx42cnlsef6lit@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20190711150732.7xrx42cnlsef6lit@altlinux.org> User-Agent: NeoMutt/20171215-106-ac61c7 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org Dmitry, On Thu, Jul 11, 2019 at 06:07:32PM +0300, Vitaly Chikunov wrote: > On Thu, May 23, 2019 at 03:26:20PM +0300, Dmitry Eremin-Solenikov wrote: > > There is no need to link to full libssl. evmctl uses functions from > > libcrypto, so let's link only against that library. > > Btw, this breaks my tests in my set up with gost-engine, making evmctl > crash on OPENSSL_init_crypto (in bind_gost). Did not investigate real > cause yet. I test with latest version of gost-engine (e372739) and > openssl 0fc4d00a00. Sorry, this was my set up failure. Previously I was defining `OPENSSL_LIBS="-L$HOME/src/openssl -lssl -lcrypto"` to link with custom OpenSSL build. Now I should just define `LIBCRYPTO_LIBS="-L$HOME/src/openssl -lcrypto"` instead. So there is no error in these commits. Thanks,