Logo white

Peter M. Groen / FlashMQ

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • FlashMQ
  • sslctxmanager.h
  • Add SSL support ...
    9e33ebda
    It also contains some related improvements that I needed:
    
    * Show disconnect reason
    * Fix the while condition for doing write() to avoid an unnecessary call
    * Config reloading logic
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse Code ยป
sslctxmanager.h 237 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef SSLCTXMANAGER_H
#define SSLCTXMANAGER_H

#include "openssl/ssl.h"

class SslCtxManager
{
    SSL_CTX *ssl_ctx = nullptr;
public:
    SslCtxManager();
    ~SslCtxManager();

    SSL_CTX *get() const;
};

#endif // SSLCTXMANAGER_H