如何添加/创建具有特定加密算法的 c/c++ OpenSSL 静态库?假设我不想实现 md5。如何创建没有 md5 的库?
最佳答案
在配置脚本中你可以指定no-<cipher>
选项,它会在没有你指定的密码的情况下构建 openssl,你可以引用 openssl 包中的 INSTALL 文件
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".
关于c - 如何从 OpenSSL 源代码中禁用/删除特定的 OpenSSL 加密算法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44363269/