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

Steve Lhomme git at videolan.org
Wed Dec 12 17:40:35 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Mar 28 11:26:47 2018 +0200| [6aaed21fb04c727662d80cb9cc76a3ff3b21fb03] | committer: Hugo Beauzée-Luyssen

keystore: CryptUnprotectData is officially found in dpapi.h

In MS SDKs and in mingw64

(cherry picked from commit f6f0f27557c5c91d2a22f9917afe04b94a727ab8)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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