More whitespace and shut some warnings up
This commit is contained in:
3
rmps.c
3
rmps.c
@@ -5,6 +5,7 @@
|
||||
#include "job_queue.h"
|
||||
#include "rmps.h"
|
||||
#include <pthread.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
@@ -209,7 +210,7 @@ static SSL_CTX* init_server_ctx(const char *cipherlist, int mode)
|
||||
SSL_library_init();
|
||||
|
||||
/* create new context from method */
|
||||
ctx = SSL_CTX_new(TLSv1_2_method());
|
||||
ctx = SSL_CTX_new(TLS_method());
|
||||
if (ctx == NULL) {
|
||||
log(ERROR, "SSL_CTX_new() returned NULL - Aborting...");
|
||||
log(ERROR, "RMPS failed to start, shutting down...");
|
||||
|
||||
Reference in New Issue
Block a user