From 81690478040b6bb032bd33f7ed7a84f4d74c4743 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 22 Aug 2013 20:18:16 +0200 Subject: [PATCH] * util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous error message. --- ChangeLog | 5 +++++ util/grub-mkpasswd-pbkdf2.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d83ef344..4fee222b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-08-22 Vladimir Serbinenko + + * util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous + error message. + 2013-08-22 Vladimir Serbinenko * grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add diff --git a/util/grub-mkpasswd-pbkdf2.c b/util/grub-mkpasswd-pbkdf2.c index 45f4ae4ef..c4e5c5968 100644 --- a/util/grub-mkpasswd-pbkdf2.c +++ b/util/grub-mkpasswd-pbkdf2.c @@ -125,10 +125,7 @@ grub_get_random (void *out, grub_size_t len) MS_DEF_PROV, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) - { - printf ("context: %x\n", GetLastError()); - return 1; - } + return 1; if (!CryptGenRandom (hCryptProv, len, out)) { CryptReleaseContext (hCryptProv, 0);