X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FAuthVariableLib%2FAuthVariableLib.c;fp=SecurityPkg%2FLibrary%2FAuthVariableLib%2FAuthVariableLib.c;h=c4fbb649f1fd0335e44df1ceb049cb0d385d5871;hb=76bfc7e3ea136412808ad4cf54471c651bdec464;hp=dd35a444092e6e293dc29c4e538f41e2f7c08a1a;hpb=f49513f666ed25d24bdf3a02a1fdb5d18ae081c0;p=mirror_edk2.git diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c index dd35a44409..c4fbb649f1 100644 --- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c +++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c @@ -35,7 +35,6 @@ UINT8 *mCertDbStore; UINT32 mMaxCertDbSize; UINT32 mPlatformMode; UINT8 mVendorKeyState; -BOOLEAN mUserPhysicalPresent; EFI_GUID mSignatureSupport[] = {EFI_CERT_SHA1_GUID, EFI_CERT_SHA256_GUID, EFI_CERT_RSA2048_GUID, EFI_CERT_X509_GUID}; @@ -436,12 +435,6 @@ AuthVariableLibInitialize ( AuthVarLibContextOut->AddressPointer = mAuthVarAddressPointer; AuthVarLibContextOut->AddressPointerCount = sizeof (mAuthVarAddressPointer) / sizeof (mAuthVarAddressPointer[0]); - // - // Cache UserPhysicalPresent State. - // Platform should report PhysicalPresent before this point - // - mUserPhysicalPresent = UserPhysicalPresent(); - return Status; }