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

Steve Lhomme git at videolan.org
Wed Mar 28 15:01:35 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Mar 28 11:26:47 2018 +0200| [f6f0f27557c5c91d2a22f9917afe04b94a727ab8] | committer: Steve Lhomme

keystore: CryptUnprotectData is officially found in dpapi.h

In MS SDKs and in mingw64

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6f0f27557c5c91d2a22f9917afe04b94a727ab8
---

 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*);



More information about the vlc-commits mailing list