/* * Taken from: http://www.rtfm.com/openssl-examples/ */ #ifndef _client_h #define _client_h #define KEYFILE "client.pem" #define PASSWORD "password" int tcp_connect(char *host,int port); void check_cert(SSL *ssl,char *host); #endif