如何在C项目中静态实现RSA加密的OPENSL?
在通常的情况下,我们使用-lcrypto
作为编译具有openSSL函数的C程序的标志,我想知道我是否可以在不需要将包装本身安装在即将上行的系统上,而无需安装软件包本身用于运行可执行文件。我的目标系统没有安装OPENSL软件包以便能够运行我的程序。
In normal cases we use -lcrypto
as a flag for compiling a C program that has calls to OpenSSL functions, I wondered If I could use OpenSSL without the need to install the package itself on the system which is going to be used for running the executable. My target system does not have the openssl package installed to be able to run my program.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以更改以下内容:
随之
而来的是将静态库的用法集成在最终可执行文件中(目标系统中不需要它们)。
Yes you can, change the following:
With
That will enforce the usage of the static libraries, which are integrated in the final executable (no need of them in the target system).