openssl-1.1.0 - Linker error on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Ugh, HTML email, which Outlook is still incapable of processing correctly.]

> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf Of Andrew Hartley
> Sent: Wednesday, May 25, 2016 05:20

> I?ve built the openssl-1.1.0 library with no-shared config option on Windows.? I?ve linked the library to my application > and fixed the few issues with EVP_MD_CTX deprication.? When I build my application I get the following link errors:
?
> 1>libcrypto.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertFreeCertificateContext at 4 referenced in function _capi_free_key

You have the CAPI engine linked into libcrypto (rather than configuring it for dynamic loading), so you need to link against the Windows CAPI library, which is crypt32.lib. Add /Lcrypt32, either when you create libcrypto or when you link your application.

-- 
Michael Wojcik
Technology Specialist, Micro Focus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux