Hello,
Have solved all my problems with WINE, but one, which seems harder ;-)
I have to run a little proggie "filesign.exe", and the lil bastartd
relies heavily on advapi32.dll crypto stuff, (CryptAcquireContextA(), for
example).
From what I read on the code (dlls/advapi32/crypt.c), most of this functions
are stubs, so no luck (it crashes all over with the return FALSEs)
So, I tried it with the "native" advapi32.dll, but wine barfs on me
with
the following crap:
--SNIP--
wine --winver=nt40 -- filesign -c c:/verix/VFSDK/Config/k2sign.crt -k
c:/verix/VFSDK/Config/k2sign.key -f foo.out -s foo.p7s -l
err:win32:PE_fixup_imports No implementation for
ntdll.dll.94(NtDeleteObjectAuditAlarm) imported from
C:\winnt4\system32\ADVAPI32.DLL, setting to 0xdeadbeef
err:win32:PE_fixup_imports No implementation for
ntdll.dll.279(RtlAddCompoundAce) imported from C:\winnt4\system32\ADVAPI32.DLL,
setting to 0xdeadbeef
err:win32:PE_fixup_imports No implementation for
ntdll.dll.167(NtQueryMultipleValueKey) imported from
C:\winnt4\system32\ADVAPI32.DLL, setting to 0xdeadbeef
err:local:LOCAL_GetBlock Local heap not found
wine: sysmetrics.c:110: SYSMETRICS_Init: Assertion `hdc' failed.
make: *** [olpciti.p7s] Aborted (core dumped)
--SNIP--
The "no imp" thingies seem completely unrelated from what I need from
advapi32, but it coredumps anyway.
Anyone know a way to overcome this? Older dll?
(or even a decent pks7 file signer which will work under linux? ;-)
TIA
--SNIP--
"The difference between genius and stupidity is that genius has
limits"
+--------------------------------------+
| Eduardo G. Andrade |
| Ibiz Tecnologia |
| eduardo@ibiz.com.br |
| 5579-3178 r 224 |
+--------------------------------------+