Module: wine Branch: master Commit: 88ac766f8b90db7e5ca4d8c3a4811dd6150373e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=88ac766f8b90db7e5ca4d8c3a4...
Author: Juan Lang juan.lang@gmail.com Date: Tue Jul 15 12:11:25 2008 -0700
wintrust: Correct error slot for SoftpubLoadSignature.
---
dlls/wintrust/softpub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c index 5e4e086..c2eb1eb 100644 --- a/dlls/wintrust/softpub.c +++ b/dlls/wintrust/softpub.c @@ -496,7 +496,7 @@ HRESULT WINAPI SoftpubLoadSignature(CRYPT_PROVIDER_DATA *data) else ret = TRUE; if (!ret) - data->padwTrustStepErrors[TRUSTERROR_STEP_FINAL_OBJPROV] = + data->padwTrustStepErrors[TRUSTERROR_STEP_FINAL_SIGPROV] = GetLastError(); return ret ? S_OK : S_FALSE; }