[Bug 13487] Smartftp dies on startup, complaining that sfFTPLIB.dll not registered (dogfood)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 27 17:49:14 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=13487

--- Comment #10 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2011-06-27 17:49:13 CDT ---
Created an attachment (id=35317)
 --> (http://bugs.winehq.org/attachment.cgi?id=35317)
add stub for PSCreateMemoryPropertyStore

I tried SmartFTP in current git.

With the hack below for crypt32.CertCreateSelfSignCertificate (to force other
codepath in that function) and the attached stub for
prosys.PSCreateMemoryPropertyStore i was able to start SmartFTP. Also i had to
manually regsister sfFPLib.dll, so that bug is still present in current git.

Maybe we shold change component to crypt32? 







--- a/dlls/crypt32/cert.c
+++ b/dlls/crypt32/cert.c
@@ -3132,7 +3132,7 @@ PCCERT_CONTEXT WINAPI
CertCreateSelfSignCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HAN
     BOOL ret, releaseContext = FALSE;
     PCERT_PUBLIC_KEY_INFO pubKey = NULL;
     DWORD pubKeySize = 0,dwKeySpec = AT_SIGNATURE;
-
+    hProv = 0;
     TRACE("(%08lx, %p, %08x, %p, %p, %p, %p, %p)\n", hProv,
      pSubjectIssuerBlob, dwFlags, pKeyProvInfo, pSignatureAlgorithm,
pStartTime,
      pExtensions, pExtensions);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list