Browse Source

keystore: CryptUnprotectData is officially found in dpapi.h

In MS SDKs and in mingw64

(cherry picked from commit f6f0f27557)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
pull/135/head
Steve Lhomme 8 years ago
committed by Hugo Beauzée-Luyssen
parent
commit
6aaed21fb0
  1. 2
      modules/keystore/file_crypt_win32.c

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

Loading…
Cancel
Save