*ctx,const void *data,size_t count)
-{ return MD2_Update(ctx-md_data,data,count); }
+{ return MD2_Update((MD2_CTX *)ctx-md_data, data, count); }
static int final(EVP_MD_CTX *ctx,unsigned char *md)
-{ return MD2_Final(md,ctx-md_data); }
+{ return MD2_Final(md, (MD2_CTX *)ctx-md_data); }
===
Linda
1.0.1i
Files affected:
apps/apps.c
crypto/rand/randtest.c
ssl/ssl_ciph.c
ssl/ssl_sess.c
ssl/t1_lib.c
util/pl/Mingw32.pl
Regards,
Linda Zhang
a.patch
Description: Binary data
,
Linda Zhang
发件人: Gisle Vanem
发送时间: 2014-08-10 19:45:04
收件人: openssl-dev@openssl.org; lind...@qq.com
抄送:
主题: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW
Linda Zhang lind...@qq.com wrote:
2. There is a conflict of the order of winsock2.h and windows.h in some
source
files so
will be better.
Regards,
Linda Zhang
Hi ,
Building in MSYS by ./config and make works, but I can't find
libeay32.dll
and libssl32.dll when compilation finishes.
So, I build openssl with command line ms\mingw32.bat. It seems there must
be
something wrong that it didn't pass CFLAGS