Hi all, I've been struggling a lot to replicate a C++ code that uses *WinVerifyTrustEx* function in go and I've found a discrepancy between the *WTD_STATEACTION_VERIFY* value defined in the file types_windows.go <https://cs.opensource.google/go/x/sys/+/master:windows/types_windows.go;drc=6ca3eb03dfc2ec15b5cb1a66e77caadc71075763;l=683> and the value defined in msdn <https://docs.microsoft.com/en-us/windows/win32/api/wintrust/ns-wintrust-wintrust_data#:~:text=the%20hWVTStateData%20member.-,WTD_STATEACTION_VERIFY,-0x00000001> documentation (and sdk *WinTrust.h*). After changing the value to 1 in my code it started working fine. I checked in master code and the issue (typo) is still present. I also checked the issues in github and this one was not reported yet. I also notice the lack of implementation of functions *WTHelperProvDataFromStateData* and *WTHelperGetProvSignerFromChain *(I implemented them using the *NewLazySystemDLL *and* NewProc*), will those be included in the future?
Thanks in advance, Federico -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/48f96507-9f9d-44f4-b15d-e2a0eefdc991n%40googlegroups.com.