Skip to content

Commit 15e59eb

Browse files
committed
remove deprecated, unused windows functions
* `CryptAcquireContextA` * `CryptReleaseContext` * `CryptGenRandom` See #534 (comment)
1 parent b16229d commit 15e59eb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

std/os/windows/advapi32.zig

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ pub const HKEY__ = extern struct {
1111
};
1212
pub const LSTATUS = LONG;
1313

14-
pub extern "advapi32" stdcallcc fn CryptAcquireContextA(
15-
phProv: *HCRYPTPROV,
16-
pszContainer: ?LPCSTR,
17-
pszProvider: ?LPCSTR,
18-
dwProvType: DWORD,
19-
dwFlags: DWORD,
20-
) BOOL;
21-
22-
pub extern "advapi32" stdcallcc fn CryptReleaseContext(hProv: HCRYPTPROV, dwFlags: DWORD) BOOL;
23-
24-
pub extern "advapi32" stdcallcc fn CryptGenRandom(hProv: HCRYPTPROV, dwLen: DWORD, pbBuffer: [*]BYTE) BOOL;
25-
2614
pub extern "advapi32" stdcallcc fn RegOpenKeyExW(
2715
hKey: HKEY,
2816
lpSubKey: LPCWSTR,

0 commit comments

Comments
 (0)