Compile server, service and session as C++

This commit is contained in:
Johan Wikman
2017-03-24 10:52:09 +02:00
parent ec39b54dea
commit bb1b7f9755
11 changed files with 54 additions and 48 deletions

View File

@ -58,7 +58,7 @@ typedef struct ssl_listener
SSL_METHOD *method; /*< SSLv3 or TLS1.0/1.1/1.2 methods
* see: https://www.openssl.org/docs/ssl/SSL_CTX_new.html */
int ssl_cert_verify_depth; /*< SSL certificate verification depth */
int ssl_method_type; /*< Which of the SSLv3 or TLS1.0/1.1/1.2 methods to use */
ssl_method_type_t ssl_method_type; /*< Which of the SSLv3 or TLS1.0/1.1/1.2 methods to use */
char *ssl_cert; /*< SSL certificate */
char *ssl_key; /*< SSL private key */
char *ssl_ca_cert; /*< SSL CA certificate */