Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-10 Thread Dan Heinz
On 04/01/17 23:11, Dan Heinz wrote: Using openssl 1.1.0c. I have a test application that is a win32 console app that calls a > >>> win32 DLL which has the openssl libraries linked in statically>. The test applications uses late-binding to the DLL and calls LoadLibra

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Michael Wojcik
> > I'm wondering whether an option to override the default behaviour might > be possible, e.g. an explicit call to OPENSSL_init_crypto() with > something like an OPENSSL_INIT_NO_ATEXIT_CLEANUP option. The > application would then have to call OPENSSL_cleanup() explicitly. Or not, because cleanin

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Matt Caswell
On 06/01/17 16:37, Michael Wojcik wrote: >> >> Can you not link against the OpenSSL DLLs rather than statically >> link? That would avoid the problem. > > It introduces other problems. It means either shipping the OpenSSL > DLLs or requiring the customer provide them; the former can have > lega

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Michael Wojcik
> > Can you not link against the OpenSSL DLLs rather than statically link? > That would avoid the problem. It introduces other problems. It means either shipping the OpenSSL DLLs or requiring the customer provide them; the former can have legal implications (cryptographic export licensing, for

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Ryan Murray
Do you have a moment to edit or review my error Ryan Murray On Jan 6, 2017 10:55 AM, "Matt Caswell" wrote: > > > On 06/01/17 14:36, Dan Heinz wrote: > >>> On 04/01/17 23:11, Dan Heinz wrote: Using openssl 1.1.0c. > >>> > >>> I have a test application that is a win32 console app that calls > >>>

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Matt Caswell
On 06/01/17 14:36, Dan Heinz wrote: >>> On 04/01/17 23:11, Dan Heinz wrote: Using openssl 1.1.0c. >>> >>> I have a test application that is a win32 console app that calls >>> a win32 DLL which has the openssl libraries linked in >>> statically. >>> >>> The test applications uses late-binding to

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-06 Thread Dan Heinz
>>On 04/01/17 23:11, Dan Heinz wrote: >> Using openssl 1.1.0c. >> >> I have a test application that is a win32 console app that calls a >> win32 DLL which has the openssl libraries linked in statically. >> >> The test applications uses late-binding to the DLL and calls >> LoadLibrary for the D

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-05 Thread Jakob Bohm
On 05/01/2017 11:53, Matt Caswell wrote: On 04/01/17 23:11, Dan Heinz wrote: Using openssl 1.1.0c. I have a test application that is a win32 console app that calls a win32 DLL which has the openssl libraries linked in statically. The test applications uses late-binding to the DLL and calls Loa

Re: [openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-05 Thread Matt Caswell
On 04/01/17 23:11, Dan Heinz wrote: > Using openssl 1.1.0c. > > I have a test application that is a win32 console app that calls a win32 > DLL which has the openssl libraries linked in statically. > > The test applications uses late-binding to the DLL and calls LoadLibrary > for the DLL, one t

[openssl-users] Openssl static build linked in DLL does not unload on win32

2017-01-04 Thread Dan Heinz
Using openssl 1.1.0c. I have a test application that is a win32 console app that calls a win32 DLL which has the openssl libraries linked in statically. The test applications uses late-binding to the DLL and calls LoadLibrary for the DLL, one test function in the DLL, and then FreeLibrary on the