zig/lib/std/crypto/Certificate
Lucas Santos 89942ebd03
Better implementation of GetLastError. (#20623)
Instead of calling the dynamically loaded kernel32.GetLastError, we can extract it from the TEB.
As shown by [Wine](34b1606019/include/winternl.h (L439)), the last error lives at offset 0x34 of the TEB in 32-bit Windows and at offset 0x68 in 64-bit Windows.
2024-07-15 10:49:51 -07:00
..
Bundle extract std.posix from std.os 2024-03-19 11:45:09 -07:00
Bundle.zig Better implementation of GetLastError. (#20623) 2024-07-15 10:49:51 -07:00