Hello,
I recently did a test compile of OpenSSL 1.0.0a in rxvt / msys (not command
prompt).
./config no-capieng enable-camellia > config.out 2>&1
make depend > make.depend.out 2>&1
make > make.out 2>&1
make test > make.test.out 2>&1
perl util/mkdef.pl 32 libeay enable-static-engine > libeay32.def
dllwrap --dllname libeay32.dll --output-lib libeay32.a --def libeay32.def
libcrypto.a -lws2_32 -lgdi32
perl util/mkdef.pl 32 ssleay enable-static-engine > ssleay32.def
dllwrap --dllname libssl32.dll --output-lib libssl32.a --def ssleay32.def
libssl.a libeay32.a
------------
I had the same issue with OpenSSL 1.0.0 where I had to make the libs manually
like this. enable-static-engine I passed as a parameter to mkdef because by
default configure (1288) passes $options.=" static-engine"; but it appears
mkdef looks for "enable-static-engine"
The test output shows at the end that all tests passed. However I reviewed the
file and while I understand that some tests are set to purposely fail I found
two things unusual. First is that the big num verification is apparently
skipped if bc is not found. I put bc in the tests directory but I had some perl
problems and that might be because I was using msys perl. I ended up verifying
the bn output on a linux box using this command, all one line:
<tmp.bntest sh -c "`sh ./bctest ignore`" | perl -e '$i=0; while (<STDIN>) {if
(/^test (.*)/) {print STDERR "\nverify $1";} elsif (!/^0$/) {die "\nFailed! bc:
$_";} else {print STDERR "."; $i++;}} print STDERR "\n$i tests passed\n"'
Also I thought this was unusual, from test output:
The following command should have some OK's and some failures
There are definitly a few expired certificates
../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs ../certs/*.pem
Error opening certificate file ../certs/*.pem
3268:error:0200107B:system library:fopen:Unknown
error:bss_file.c:392:fopen('../certs/*.pem','rb')
3268:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:394:
unable to load certificate
^^^^Is that to be expected or should there be some test certs there?
Thanks