diff options
author | Long, Qin <qin.long@intel.com> | 2013-11-21 09:02:33 +0000 |
---|---|---|
committer | sfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-11-21 09:02:33 +0000 |
commit | b6023fb17dfd0bf90c7e7d2dab483c63bf14925c (patch) | |
tree | 49ad12db7e769ab36090530e847ed076a8c4a843 /SecurityPkg/Application | |
parent | 5cdb96fa0d5f689cb4b3b17ddd2cec164842aebd (diff) | |
download | edk2-platforms-b6023fb17dfd0bf90c7e7d2dab483c63bf14925c.tar.xz |
Fix coding style problem in RngDxe driver.
Signed-off-by: Long, Qin <qin.long@intel.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14878 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Application')
-rw-r--r-- | SecurityPkg/Application/RngTest/RngTest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SecurityPkg/Application/RngTest/RngTest.c b/SecurityPkg/Application/RngTest/RngTest.c index 25edecefe3..f501f806e9 100644 --- a/SecurityPkg/Application/RngTest/RngTest.c +++ b/SecurityPkg/Application/RngTest/RngTest.c @@ -103,6 +103,9 @@ UefiMain ( //
RandSize = 32;
Rand = AllocatePool (RandSize);
+ if (Rand == NULL) {
+ goto Exit;
+ }
//
// RNG with default algorithm
|