ClienteTFG/conexion_ssl.h

17 lines
328 B
C
Raw Normal View History

2020-05-08 12:42:02 +02:00
#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);
ssize_t read_string(std::string &entrada, int size);
ssize_t write_string(std::string entrada);
private:
SSL* ssl;
};
#endif // CONEXION_SSL_H