1、下载openssl源代码,我下载的是openssl-1.0.1c,解压源代码

2、打开openssl-1.0.1c \INSTALL.w64,用记事本打开,里面解释了如何编译openssl

3、下载ActivePerl,可以百度或到http://www.activestate.com/ActivePerl 

4、解压ActivePerl包,并将bin目录加入到Path环境里

5、开始\应用程序\Visual Studio 2012\Visual Studio Tools\ Visual Studio Native x64 Tools Command

6、cd openssl-1.0.1c,然后执行以下命令

 > perl Configure VC-WIN64A
 > ms\do_win64a
 > nmake -f ms\ntdll.mak
 > cd out32dll

 > ..\ms\test 

 最后生成出来的文件在out32dll目录下

posted on 2012-10-23 19:24  袁晓平  阅读(2312)  评论(0编辑  收藏  举报