0、Requirements

  * make
  * Perl 5
  * an ANSI C compiler
  * a development environment in form of development libraries and C
    header files
  * a supported Unix operating system

1、下载源码:ftp://ftp.openssl.org/source/
2、修改源码:
修改test/md2test.c 的内容,从 dummytest.c 改为 #include “dummytest.c”, 不然会出现错误

md2test.c:1:10: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token

对文件test/rc5test.c,  test/jpaketest.c 作同样修改。

3、config:

./config --prefix=/ffp --openssldir=/ffp/etc/openssl

4、make

make

5、make test

make test

6、make install

make install

发表评论

电子邮件地址不会被公开。 必填项已用*标注