http://www.openssl.org/source/openssl-0.9.8l.tar.gz
Copy the openssl tarball into the `c:\mingw` directory
#cd mingw
#tar zxf openssl-0.9.8l.tar.gz
#cd mingw/openssl-0.9.8l
after comment 1062 line in Configure file
[$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys());]
#./Configure -no-idea -no-rc5 -no-mdc2 mingw
#rm -rf ./test
#cd crypto/
#find ./ -name "*.h" -exec cp {} ../include/openssl/ \;
#cd ../ssl/"
#find ./ -name "*.h" -exec cp {} ../include/openssl/ \;
#cd ..
#cp *.h include/openssl/
#find ./fips -type f -name "*.h" -exec cp {} include/openssl/ \;
#make
#copy *.a c:\mingw\lib