OpenSSL 1.1.1g test failures
David Harris
openssl at pmail.gen.nz
Fri Jun 26 14:01:09 UTC 2020
On 26 Jun 2020 at 11:55, Matt Caswell wrote:
> No - this is not normal output. We would expect the self tests to pass
> on Windows
> > The ONLY
> > non-standard thing I do is change the /MD switch (link to the DLL
> > versions of the runtime libraries) to /MT (static link the runtimes)
> > because I don't want to have external dependencies in my production
> > environments
>
> How exactly do you make this change? By editing the Makefile? Have you
> tried it without doing this? My guess is that this is exactly the
> cause of the problem. AppLink is all about dealing with differences in
> MS runtimes.
Assumption, as they say, is the mother of all fu??ups...
In this case, the failed assumption was that a non-standard modification I had
been making for many years would continue to work simply because it had in
the past.
Matt is, of course, quite right. When I changed the "/MT" back to "/MD" in
CNF_CFLAGS and rebuilt everything, it all worked like clockwork.
My thanks to you Matt - you've solved my problem.
Is there a standard (i.e, approved) way of using the static RTLs instead of the
DLL ones? Or is my only option to modify the applink code so that it checks its
environment in a different way? The problem with the dynamic RTLs is that my
application is often used in environments where the user may not have sufficient
rights to install the redistributables - whereas, if I use the static versions, the
code is a little bigger, but there's no redistributable installation required and I
never run into rights issues.
Again, thank you for the assistance, Matt - I appreciate it.
Cheers!
-- David --
More information about the openssl-users
mailing list