如何从OpenSSL源代码中禁用/删除特定的OpenSSL加密算法?
答
在配置脚本,你可以指定no-<cipher>
选项,指定将建设的OpenSSL没有密码,你可以参考安装从OpenSSL软件包文件
no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa,
hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha).
The crypto/<cipher> directory can be removed after running
"make depend".
是否减少编译库的大小? –
我认为它会跳过密码的代码 – Pras