first commit, base server

This commit is contained in:
2020-05-08 12:43:46 +02:00
commit e5078b4969
23 changed files with 955 additions and 0 deletions

19
conexion_ssl.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef CONEXION_SSL_H
#define CONEXION_SSL_H
#include "conexion.h"
#include <openssl/ssl.h>
class conexion_ssl : public conexion
{
public:
conexion_ssl(config_reader &conf);
void start_server();
private:
/*void init_openssl();
void cleanup_openssl();*/
SSL_CTX *create_context();
void configure_context(SSL_CTX *ctx);
};
#endif // CONEXION_SSL_H