OpenSSL整个项目很庞大,为了能更好的了解其实现,最好的方法就是能够单步调试。
查询了一些资料,在此留言,备忘。
1.环境:
下载最新版本的OpenSSL:http://www.openssl.org/
下载最新版本的Perl:http://downloads.activestate.com/ActivePerl
VC环境变量设置,执行下面批处理
2.非DEBUG版本编译。
进入openssl源码目录。 cd c:/openssl-src
运行configure:
创建Makefile文件:
ms/do_ms
编译动态库:
nmake -f ms/ntdll.mak
编译静态库:
nmake -f ms/nt.mak
测试动态库:
nmake -f ms/ntdll.mak test
测试静态库:
nmake -f ms/nt.mak test
安装