Message ID | 1415801041-17550-7-git-send-email-lersek@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCYMNM6GTEARBBOSRWRQKGQEDTCFOXY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C5C83206A5 for <linaro@patches.linaro.org>; Wed, 12 Nov 2014 14:04:54 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id bs8sf429881wib.8 for <linaro@patches.linaro.org>; Wed, 12 Nov 2014 06:04:54 -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=BoX4IYRDtC/0PEfBzG/ot/x50znHKuPtFXYL+a4ZGdYOtwj5m+Z9rIIOVlRevCssj4 iRxIsr9CWaXbfKKfPFvp6P/8Te5OA52UhAIg+ovuFBp5S9Ba3b+AYlMU8xeC2WUCeKvW xDRutWJtEAcTJR1+LcGXSaVoMKPRLHydD5Nn4aPL07sesjcZNvjhH7aVKSUyWZ3XKxOs 4LgHJgIP3TUZdpKuUPgOSfsLuXpw35gZuGsc23zJwjIiT8YfWqNqgEJ81IKgLEG103Il lM5DZH6JezYSs6qO5M7rsqPpGszyILMb6HUJnY20Quu4T5x9+IGpLRD6ePwQP/P4oo4R hXFA== X-Gm-Message-State: ALoCoQnJmgaco+GEBPygTXmhqUm1c44yKMkpcshsr0yZ88MHMTTD17Q9X46pAeZeuDV/cpqXD5Eb X-Received: by 10.112.162.6 with SMTP id xw6mr7763898lbb.4.1415801094012; Wed, 12 Nov 2014 06:04:54 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.129 with SMTP id w1ls673026lal.34.gmail; Wed, 12 Nov 2014 06:04:53 -0800 (PST) X-Received: by 10.152.19.133 with SMTP id f5mr2383703lae.87.1415801093365; Wed, 12 Nov 2014 06:04:53 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id vr4si34938458lbb.110.2014.11.12.06.04.53 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 06:04:53 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id b6so9416271lbj.30 for <patchwork-forward@linaro.org>; Wed, 12 Nov 2014 06:04:53 -0800 (PST) X-Received: by 10.152.116.102 with SMTP id jv6mr22560896lab.40.1415801093275; Wed, 12 Nov 2014 06:04:53 -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 ew9csp428843lbc; Wed, 12 Nov 2014 06:04:52 -0800 (PST) X-Received: by 10.50.221.97 with SMTP id qd1mr40012695igc.12.1415801089701; Wed, 12 Nov 2014 06:04:49 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id l1si23644193igk.57.2014.11.12.06.04.46 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 12 Nov 2014 06:04:49 -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-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <edk2-devel-bounces@lists.sourceforge.net>) id 1XoYXH-0002kO-I1; Wed, 12 Nov 2014 14:04:39 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <lersek@redhat.com>) id 1XoYXG-0002kC-Ms for edk2-devel@lists.sourceforge.net; Wed, 12 Nov 2014 14:04:38 +0000 Received-SPF: pass (sog-mx-4.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-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1XoYXF-0000eg-QF for edk2-devel@lists.sourceforge.net; Wed, 12 Nov 2014 14:04:38 +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 sACE4UZc003956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Nov 2014 09:04:30 -0500 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-88.ams2.redhat.com [10.36.116.88]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sACE457U030648; Wed, 12 Nov 2014 09:04:27 -0500 From: Laszlo Ersek <lersek@redhat.com> To: edk2-devel@lists.sourceforge.net, jordan.l.justen@intel.com, scott@notabs.org, qin.long@intel.com Date: Wed, 12 Nov 2014 15:04:00 +0100 Message-Id: <1415801041-17550-7-git-send-email-lersek@redhat.com> In-Reply-To: <1415801041-17550-1-git-send-email-lersek@redhat.com> References: <1415801041-17550-1-git-send-email-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -2.1 (--) 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 -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1XoYXF-0000eg-QF Subject: [edk2] [PATCH 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.217.171 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; }