[vlc-devel] [PATCH] keystore: CryptUnprotectData is officially found in dpapi.h

Steve Lhomme robux4 at ycbcr.xyz
Wed Mar 28 11:26:47 CEST 2018


In MS SDKs and in mingw64
---
 modules/keystore/file_crypt_win32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/keystore/file_crypt_win32.c b/modules/keystore/file_crypt_win32.c
index 9a7b3876a6..ebbdcfc99f 100644
--- a/modules/keystore/file_crypt_win32.c
+++ b/modules/keystore/file_crypt_win32.c
@@ -26,7 +26,7 @@
 #include "file_crypt.h"
 
 #include <windows.h>
-#include <wincrypt.h>
+#include <dpapi.h>
 
 typedef BOOL (WINAPI *ProcessFunc)(DATA_BLOB*, LPCWSTR, DATA_BLOB*, PVOID,
                                    CRYPTPROTECT_PROMPTSTRUCT*, DWORD, DATA_BLOB*);
-- 
2.16.2



More information about the vlc-devel mailing list