]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 22 Aug 2013 18:18:16 +0000 (20:18 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 22 Aug 2013 18:18:16 +0000 (20:18 +0200)
error message.

ChangeLog
util/grub-mkpasswd-pbkdf2.c

index 1d83ef34463d4e087e0a9e8f63c222ae1a54f450..4fee222b77ae2107964b3e20497f1e0be63a9348 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
index 45f4ae4efa5d8c31106315ef893576aeafd6b33e..c4e5c5968f248bca47bf973c76d43de3cb3b97ba 100644 (file)
@@ -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);