开发者

How to include Openssl in my project?

开发者 https://www.devze.com 2023-01-22 17:26 出处:网络
I have openssl directory for whole openssl code. It has some folder hierarchy. I want to use for example RSA algorithm in openssl, how 开发者_如何学Pythoncan I include open-sll in my project?

I have openssl directory for whole openssl code. It has some folder hierarchy. I want to use for example RSA algorithm in openssl, how 开发者_如何学Pythoncan I include open-sll in my project?

If I just include that directory, program cannot find all files properly. Always error about cannot find some definition or something like that. Wish I expressed it clearly. Thanks!


Does this work?

gcc -lssl -lcrypto  ...


How to use OpenSSL in GCC?

0

精彩评论

暂无评论...
验证码 换一张
取 消