From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.13472.1651255521036807512 for ; Fri, 29 Apr 2022 11:05:21 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=CpEM8EwE; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: judah.vang@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651255521; x=1682791521; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W970QBLW3ZrL0RweD/TUjYdIj0tSY2Pv19vhQXwW+HA=; b=CpEM8EwEwg+CrkjPXs9nToSIaTgVRHB/kBWTGy8s0R5s0fmmgn3ucAL5 xty9XLMXnKEzz/vQtidgxlNldnYO7hnoAtUqMQj5RhZvvEcUqKLwCKbCc pjo4WBGYVcRwLddZCYt6xj+lGp7LaPR2N4X3GvrBe2TJMkjG1Fj5u0L/K wNiqgXMtu4hsD7rFHs54GE6fJJA86kuVAcZcX0tsanwcH71zyw46hgYmw MF/n6Z6SEyGmp0seBZ6T9PUj1moT43VuXOUvLBBphWFgM7RvTRwEMxUz0 m+/8NNPDkFSPG8DQfRdP1okNT0LYoIexLtadCCiepxyXa3FaYZWqfktRP A==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="266550636" X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="266550636" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 11:05:19 -0700 X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="514955721" Received: from jvang-mobl.amr.corp.intel.com ([10.212.198.238]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 11:05:18 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jian J Wang , Jiewen Yao , Nishant C Mistry Subject: [Patch v2 13/28] SecurityPkg: Fix GetVariableKey API Date: Fri, 29 Apr 2022 11:04:15 -0700 Message-Id: <20220429180430.3292-14-judah.vang@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20220429180430.3292-1-judah.vang@intel.com> References: <20220429180430.3292-1-judah.vang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Fix GetVariableKey API to match changes in header files. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c b/SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c index a08def767b5f..cfbad54ba106 100644 --- a/SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c +++ b/SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c @@ -1,7 +1,7 @@ /** @file Null version of VariableKeyLib for build purpose. Don't use it in real product. -Copyright (c) 2020, Intel Corporation. All rights reserved.
+Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -22,8 +22,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent EFI_STATUS EFIAPI GetVariableKey ( - OUT VOID **VariableKey, - IN OUT UINTN *VariableKeySize + OUT VOID *VariableKey, + IN UINTN VariableKeySize ) { ASSERT (FALSE); -- 2.35.1.windows.2