#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <memory.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <openssl/rsa.h>
#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
Go to the source code of this file.
#define CERTF HOME "foo-cert.pem" |
#define CHK_ERR |
( |
|
err, |
|
|
|
s |
|
) |
| if ((err)==-1) { perror(s); exit(1); } |
#define CHK_NULL |
( |
|
x | ) |
if ((x)==NULL) exit (1) |
#define KEYF HOME "foo-cert.pem" |