[Bug 44699] Clang 6.0 fails to run under wine

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 10 17:18:21 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=44699

--- Comment #4 from Martell <martellmalone at gmail.com> ---
Created attachment 60716
  --> https://bugs.winehq.org/attachment.cgi?id=60716
CryptAcquireContextW PROV_RSA_FULL CRYPT_VERIFYCONTEXT TEST

```
#include <stdio.h>
#include <windows.h>
#include <wincrypt.h>
// -ladvapi32

int main(int argc, char* argv[]) {
    HCRYPTPROV provider;
    if (!CryptAcquireContextW(&provider, NULL, NULL, PROV_RSA_FULL,
CRYPT_VERIFYCONTEXT)) {
        printf("failed world\n");
        return -1;
    }
    printf("successful world\n");
    return 0;
}

compiled with `x86_64-w64-mingw32-clang test-crypto.c -o
test-crypto-c-x86_64.exe -ladvapi32`

-- 
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