X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FRand%2FCryptRandTsc.c;h=b0bfd5fb4f96253cdb28a441429d1f15d00ba395;hb=2009f6b4c5cbd7dda95a2594288405224173d239;hp=15f0b3fecaa3d7ba56a0d61fe58a1f6ec331f899;hpb=2998af862469c6a05657e169d7def6f55420caad;p=mirror_edk2.git diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c index 15f0b3feca..b0bfd5fb4f 100644 --- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c +++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c @@ -1,14 +1,8 @@ /** @file Pseudorandom Number Generator Wrapper Implementation over OpenSSL. -Copyright (c) 2012 - 2013, 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 -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -69,7 +63,7 @@ RandomSeed ( sizeof (DefaultSeed), "UEFI Crypto Library default seed (%ld)", AsmReadTsc () - ); + ); RAND_seed (DefaultSeed, sizeof (DefaultSeed)); }