diff options
author | Dong Guo <guo.dong@intel.com> | 2014-03-21 00:57:42 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-21 00:57:42 +0000 |
commit | 68d151bbc9c2d48639e6de4a15d912158b10e9f7 (patch) | |
tree | 6a65df9dc03fbc83643cf37f23aeb3b461006094 /SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c | |
parent | eb5b60155a30428c12acd0b2c49b54159a4e55e8 (diff) | |
download | edk2-platforms-68d151bbc9c2d48639e6de4a15d912158b10e9f7.tar.xz |
Force UID modules build error to warn user that currently it is just a sample.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15356 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c')
-rw-r--r-- | SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c index f851bb2e2d..046a50052d 100644 --- a/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c +++ b/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c @@ -1,7 +1,7 @@ /** @file
Usb Credential Provider driver implemenetation.
-Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
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
@@ -1377,6 +1377,11 @@ UsbProviderInit ( EFI_STATUS Status;
//
+ // It is NOT robust enough to be included in production.
+ //
+ #error "This implementation is just a sample, please comment this line if you really want to use this driver."
+
+ //
// Init credential table.
//
Status = InitCredentialTable ();
|