Re: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-16 Thread Michael Wojcik
Did you read my previous response, where I listed the relevant Configure 
options? Be sure to expand included text, if you're using one of those 
braindead MUAs which hide it.


Re: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-14 Thread Osman Zakir
Are there additional commands I have to pass to the Configure module if I want 
to build completely static libs?  If so, what are they?


RE: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-14 Thread Michael Wojcik
Again, please don't send questions about OpenSSL directly to me. I am not a 
member of the OpenSSL Project.

> From: Osman Zakir [mailto:osmanzaki...@hotmail.com]
> Sent: Saturday, September 14, 2019 10:54

> I'm not trying to build a DLL, though.  I want to build a static .lib library 
> (are there
> additional commands I need to give to make it build static libs?).

Yes, and they're documented in the Configure options just like everything else.

You need to configure with "no-shared" to disable the building of shared 
libraries. You may want no-dynamic-engine to have engines linked statically 
rather than loaded at runtime, no-zlib-dynamic for the same reason, and no-dso 
to disable loading of objects at runtime (though I'm not sure this has any 
effect on Windows builds). I don't think no-pic has any effect on Windows.

I can't guess what options you actually might want because you STILL haven't 
told us what you're trying to do, and why.

--
Michael Wojcik
Distinguished Engineer, Micro Focus





RE: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-14 Thread Michael Wojcik
> From: Osman Zakir [mailto:osmanzaki...@hotmail.com]
> Sent: Friday, September 13, 2019 18:06

> I won't build with either one enabled if that's better, but I'd still like to 
> know how
> to fix those linker errors.

Someone should probably look into that, but I don't have time to; and if no one 
else from the community picks it up, you'll probably have to wait until someone 
from the OpenSSL team has a chance to get to it.

Does the DLL you built have the missing symbols? (Try "dumpbin /exports 
libssl-1_1-x64.dll | findstr EVP_md2" in the apps directory.) If so, the link 
is picking up the wrong import library. If not, something didn't get rebuilt 
correctly.

> I do also want to ask what AFALG is and if I should enable it or not (and 
> what happens
> if I do).

I answered this in one of my other replies, sent Thursday 12 September. The 
afalg engine is only applicable to Linux.

--
Michael Wojcik
Distinguished Engineer, Micro Focus





Re: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-13 Thread Osman Zakir
I'll just put both email addresses in for "To" then.

I won't build with either one enabled if that's better, but I'd still like to 
know how to fix those linker errors.

I do also want to ask what AFALG is and if I should enable it or not (and what 
happens if I do).


RE: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-13 Thread Michael Wojcik
> From: Osman Zakir [mailto:osmanzaki...@hotmail.com]
> Sent: Friday, September 13, 2019 13:26

> I had a successful build before I configured it again to try to get MD2 and 
> RC5, so I
> didn't see a reason to clean the build.

Reconfiguring changes the makefiles. You should always clean after a 
reconfigure. That's true for the vast majority of software projects that use a 
makefile-creating build process.

> But I also want to know after that whether or not it's possible to enable all 
> of the
> algorithms supported by OpenSSL version 1.1.1d.

If it's not possible to enable an algorithm, it isn't actually "supported", is 
it?

If Configure claims a particular algorithm can be enabled, then if it's not 
actually possible to build with it enabled and use it, I'd say that's a bug 
somewhere. I haven't tried to build with all possible Configure options 
enabled, though.

--
Michael Wojcik
Distinguished Engineer, Micro Focus






Re: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-13 Thread Osman Zakir
I had a successful build before I configured it again to try to get MD2 and 
RC5, so I didn't see a reason to clean the build.  I did clean it now after the 
failure happened.

I'll try to fix these errors for now, so please help me with that.  But I also 
want to know after that whether or not it's possible to enable all of the 
algorithms supported by OpenSSL version 1.1.1d.




RE: Linker errors when trying to build OpenSSL with MD2 and RC5 support

2019-09-13 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of 
> Osman Zakir
> Sent: Friday, September 13, 2019 11:30

> I had linker errors when trying to build OpenSSL with MD2 and RC5 support.

Did you clean after configuring?

> I'm also tempted to try getting the latest bleeding edge version from GitHub. 
>  I
> wonder if I should try that.

If you're bored with your current set of problems and want a different set, 
sure. If you're hoping to make progress, I wouldn't recommend it.

--
Michael Wojcik
Distinguished Engineer, Micro Focus