Skip to contentSkip to conversation

fix mingw build failure

PATCH Applied Gerd Hoffmann 4 participants 4 messages May 16, 2017 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix mingw build failure

---
 crypto/random-platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/random-platform.c +1 -1
index 0eddb915b7..92eed0ee78 100644
@@ -23,7 +23,7 @@
 #include "crypto/random.h"
 
 #ifdef _WIN32
-#include <Wincrypt.h>
+#include <wincrypt.h>
 static HCRYPTPROV hCryptProv;
 #else
 static int fd; /* a file handle to either /dev/urandom or /dev/random */
Signature · 1 line
2.9.3
Reviewed-by on v1 1/1
#1 lore raw

Am 16.05.2017 um 07:24 schrieb Gerd Hoffmann:

Quoted 11 lines
---
 crypto/random-platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/random-platform.c +0 -0
index 0eddb915b7..92eed0ee78 100644

crypto/random-platform.c line 29

Quoted 8 lines
crypto/random-platform.c +1 -1
@@ -23,7 +23,7 @@
 #include "crypto/random.h"
 
 #ifdef _WIN32
-#include <Wincrypt.h>
+#include <wincrypt.h>
 static HCRYPTPROV hCryptProv;
 #else
 static int fd; /* a file handle to either /dev/urandom or /dev/random */

Thank you.

cc`ing qemu-trivial.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Gerd Hoffmann
Quoted 10 lines · Gerd Hoffmann
---
 crypto/random-platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/random-platform.c +0 -0
index 0eddb915b7..92eed0ee78 100644

crypto/random-platform.c line 29

Quoted 8 lines
crypto/random-platform.c +1 -1
@@ -23,7 +23,7 @@
 #include "crypto/random.h"
 
 #ifdef _WIN32
-#include <Wincrypt.h>
+#include <wincrypt.h>
 static HCRYPTPROV hCryptProv;
 #else
 static int fd; /* a file handle to either /dev/urandom or /dev/random */

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|