Message ID | 1415877385-18341-7-git-send-email-lersek@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCYMNM6GTEARBMFGSKRQKGQEVJ3JQSY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8463D240ED for <linaro@patches.linaro.org>; Thu, 13 Nov 2014 11:17:05 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id gq15sf8914297lab.2 for <linaro@patches.linaro.org>; Thu, 13 Nov 2014 03:17:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=6L3Kw9SMdFASJsc2vPkEqCsIA3Q30vYXw+L1CvP/2ks=; b=hEuhNMXHCr9UN1yCw67xe9iBIxmomkzAA6clxslX3k8Pt01x+/1Wq9nRsHGjZriht0 QIyNPl0zXry0vlj/qoW1TvNzk+f+2xem7m8i2Nx+MQtO3LJzTw1gmDArt/u1iiNsINqQ ZL1waXbnzz7KqO+fgKTQYyUggGE9zTdR4sZ+IpzajS3MTF839TgHlC8zTZ/xx6JRY7nf 71Rn3Np2Wk/4EmMudrG55YcyNBPPbvOPIxFQ/OZg4o6RGY8/uueT4RLq1jz80tE+xBQ3 CVmdbl+oXx9iWEZ0e+ILfPVU5ASE9F5yhJqdJLgldaQ+cmmIlErZyl+9r6x8Gwh4pNFO vhwg== X-Gm-Message-State: ALoCoQnazJrL6psOlBLMYGqL5DGIQeOlCD0VdIOKcWQyGD11/R9sB6ONhYoTBYqOAOr9BggI6Pu5 X-Received: by 10.152.37.37 with SMTP id v5mr176053laj.9.1415877424536; Thu, 13 Nov 2014 03:17:04 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.72 with SMTP id j8ls613192lag.105.gmail; Thu, 13 Nov 2014 03:17:04 -0800 (PST) X-Received: by 10.152.23.73 with SMTP id k9mr1882499laf.14.1415877424366; Thu, 13 Nov 2014 03:17:04 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id ky4si38147739lbc.28.2014.11.13.03.17.04 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 03:17:04 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id gd6so12761030lab.6 for <patchwork-forward@linaro.org>; Thu, 13 Nov 2014 03:17:04 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr1794015lbc.66.1415877424273; Thu, 13 Nov 2014 03:17:04 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp572477lbc; Thu, 13 Nov 2014 03:17:03 -0800 (PST) X-Received: by 10.107.172.68 with SMTP id v65mr1882460ioe.60.1415877422835; Thu, 13 Nov 2014 03:17:02 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id 9si23818661igs.34.2014.11.13.03.17.02 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 13 Nov 2014 03:17:02 -0800 (PST) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <edk2-devel-bounces@lists.sourceforge.net>) id 1XosOU-0001xQ-Py; Thu, 13 Nov 2014 11:16:54 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <lersek@redhat.com>) id 1XosOT-0001x4-A7 for edk2-devel@lists.sourceforge.net; Thu, 13 Nov 2014 11:16:53 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=lersek@redhat.com; helo=mx1.redhat.com; Received: from mx1.redhat.com ([209.132.183.28]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1XosOS-0008IX-AQ for edk2-devel@lists.sourceforge.net; Thu, 13 Nov 2014 11:16:53 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sADBGkf7013009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for <edk2-devel@lists.sourceforge.net>; Thu, 13 Nov 2014 06:16:46 -0500 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-83.ams2.redhat.com [10.36.116.83]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sADBGTn4018997 for <edk2-devel@lists.sourceforge.net>; Thu, 13 Nov 2014 06:16:45 -0500 From: Laszlo Ersek <lersek@redhat.com> To: edk2-devel@lists.sourceforge.net Date: Thu, 13 Nov 2014 12:16:24 +0100 Message-Id: <1415877385-18341-7-git-send-email-lersek@redhat.com> In-Reply-To: <1415877385-18341-1-git-send-email-lersek@redhat.com> References: <1415877385-18341-1-git-send-email-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -2.5 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1XosOS-0008IX-AQ Subject: [edk2] [PATCH v2 6/7] CryptoPkg: TimestampTokenVerify(): fix gcc-4.8 / Ia32 build failure X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/edk2-devel>, <mailto:edk2-devel-request@lists.sourceforge.net?subject=subscribe> MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lersek@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c index 6cb12cc..e4b5a84 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c @@ -535,7 +535,8 @@ TimestampTokenVerify ( // Construct TS_TST_INFO structure from the signed contents. // TstTemp = TstData; - TstInfo = d2i_TS_TST_INFO (NULL, &TstTemp, (int)TstSize); + TstInfo = d2i_TS_TST_INFO (NULL, (const unsigned char **) &TstTemp, + (int)TstSize); if (TstInfo == NULL) { goto _Exit; }