* util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
error message.
This commit is contained in:
parent
6b87c10a0b
commit
8169047804
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
|
||||||
|
error message.
|
||||||
|
|
||||||
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
|
* grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
|
||||||
|
|
|
@ -125,10 +125,7 @@ grub_get_random (void *out, grub_size_t len)
|
||||||
MS_DEF_PROV,
|
MS_DEF_PROV,
|
||||||
PROV_RSA_FULL,
|
PROV_RSA_FULL,
|
||||||
CRYPT_VERIFYCONTEXT))
|
CRYPT_VERIFYCONTEXT))
|
||||||
{
|
return 1;
|
||||||
printf ("context: %x\n", GetLastError());
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
if (!CryptGenRandom (hCryptProv, len, out))
|
if (!CryptGenRandom (hCryptProv, len, out))
|
||||||
{
|
{
|
||||||
CryptReleaseContext (hCryptProv, 0);
|
CryptReleaseContext (hCryptProv, 0);
|
||||||
|
|
Loading…
Reference in a new issue