0

I have openssl directory for whole openssl code. It has some folder hierarchy. I want to use for example RSA algorithm in openssl, how can 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!

Josh Morrison
  • 7,288
  • 24
  • 65
  • 85

2 Answers2

0

Does this work?

gcc -lssl -lcrypto  ...
Conner
  • 28,826
  • 8
  • 50
  • 73
-1

How to use OpenSSL in GCC?

Community
  • 1
  • 1
Suroot
  • 4,229
  • 1
  • 21
  • 28