X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FSecurityStubDxe%2FSecurityStub.c;h=1660828db83362eae4d51accb9a4d05f53c0e838;hp=ac3ab297abd44879212b9eb8f0bcd6ce1c8e3c73;hb=cd98f3050246e64f149d9a13032bc1608421811e;hpb=7748df3da985214b8c6e39ea983018c212198d54 diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c index ac3ab297ab..1660828db8 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c @@ -1,8 +1,7 @@ /** @file - This driver implements a sample platform security service, which does - nothing and always return EFI_SUCCESS. - - Copyright (c) 2006 - 2008, Intel Corporation + This driver produces security architectural protocol based on SecurityManagementLib. + + Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -19,6 +18,7 @@ #include #include #include +#include // // Handle for the Security Architectural Protocol instance produced by this driver @@ -68,11 +68,7 @@ SecurityStubAuthenticateState ( IN CONST EFI_DEVICE_PATH_PROTOCOL *File ) { - if (File == NULL) { - return EFI_INVALID_PARAMETER; - } - - return EFI_SUCCESS; + return ExecuteSecurityHandlers (AuthenticationStatus, File); } //