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,488
  • 25
  • 67
  • 86

2 Answers2

0

Does this work?

gcc -lssl -lcrypto  ...
Conner
  • 30,144
  • 8
  • 52
  • 73
-1

How to use OpenSSL in GCC?

Community
  • 1
  • 1
Suroot
  • 4,315
  • 1
  • 22
  • 28