[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Integrate Marcel Taeumel & Tobias Pape's v2 SSL plugin changes. (b2268f0)

Nicolas Cellier notifications at github.com
Tue Dec 11 13:34:56 UTC 2018


It seems that there is a type mismatch on 2nd argument here (and same further in code): because we currently use `CertOpenSystemStoreA` rather than `CertOpenSystemStoreW` and the compiler does warn us:

    ../../platforms/win32/plugins/SqueakSSL/sqWin32SSL.c:176:35: warning: incompatible pointer types passing 'unsigned short [3]' to parameter of type 'LPCSTR' (aka 'const char *') [-Wincompatible-pointer-types]
                    hStore = CertOpenSystemStore(0, L"MY");
                                                    ^~~~~
    /usr/x86_64-w64-mingw32/sys-root/mingw/include/wincrypt.h:4432:83: note: passing argument to parameter 'szSubsystemProtocol' here
      WINIMPM HCERTSTORE WINAPI CertOpenSystemStoreA (HCRYPTPROV_LEGACY hProv, LPCSTR szSubsystemProtocol);


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b2268f0d9af6907b3b913cae1251bef63d4ffe53#commitcomment-31635660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181211/f2a70f9b/attachment.html>


More information about the Vm-dev mailing list