How to compile .c file with OpenSSL includes?

前端 未结 7 912
醉梦人生
醉梦人生 2020-11-27 03:40

I am trying to compile a small .c file that has the following includes:

#include 
#include 
#include 

        
7条回答
  •  隐瞒了意图╮
    2020-11-27 04:10

    Use the snippet below as a solution for the cited challenge;

    yum install openssl
    yum install openssl-devel
    

    Tested and proved effective on CentOS version 5.4 with keepalived version 1.2.7.

提交回复
热议问题