diff --git a/ftpServer.c b/ftpServer.c index b065008..d6ec03b 100644 --- a/ftpServer.c +++ b/ftpServer.c @@ -571,7 +571,7 @@ void runFtpServer(void) //Debug print errors if (ftpData.clients[processingSock].bufferIndex < 0) { - ftpData.clients[processingSock].closeTheClient = 1; + //ftpData.clients[processingSock].closeTheClient = 1; printf("\n1 Errno = %d", errno); perror("1 Error: "); continue; diff --git a/library/openSsl.c b/library/openSsl.c index 7cea289..b68f08c 100644 --- a/library/openSsl.c +++ b/library/openSsl.c @@ -178,7 +178,6 @@ void ShowCerts(SSL* ssl) } - void handle_error(const char *file, int lineno, const char *msg) { fprintf(stderr, "** %s:%d %s\n", file, lineno, msg); diff --git a/library/openSsl.h b/library/openSsl.h index 04b2407..8c13924 100644 --- a/library/openSsl.h +++ b/library/openSsl.h @@ -36,6 +36,9 @@ extern "C" { void initOpenssl(); void cleanupOpenssl(); +int thread_cleanup(void); +int thread_setup(void); +void handle_error(const char *file, int lineno, const char *msg); SSL_CTX *createServerContext(); SSL_CTX *createClientContext(); void configureContext(SSL_CTX *ctx, char *certificatePath, char* privateCertificatePath);