From a1a7d5dc60fb40d39c9f1cbc6b1879bc562299a7 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 25 May 2013 17:50:53 -0400 Subject: [PATCH] Code reformatting --- src/network.c | 2 +- src/ssl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network.c b/src/network.c index e5eb47b..b46bce7 100644 --- a/src/network.c +++ b/src/network.c @@ -194,7 +194,7 @@ WmnotifyGetResponse( char *buffer, int max_size ) #if HAVE_SSL if( wmnotify_infos.use_ssl == TRUE ) { - len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt */ + len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt. */ switch( SSL_get_error( ssl_infos.ssl, len ) ) { case SSL_ERROR_NONE: /* Success. */ diff --git a/src/ssl.c b/src/ssl.c index 4b9f520..245ea8d 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -35,10 +35,10 @@ InitCTX( void ) SSL_METHOD *method; SSL_CTX *ctx; - OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */ - SSL_load_error_strings(); /* Bring in and register error messages */ + OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */ + SSL_load_error_strings(); /* Bring in and register error messages */ method = SSLv2_client_method(); /* Create new client-method instance */ - ctx = SSL_CTX_new(method); /* Create new context */ + ctx = SSL_CTX_new(method); /* Create new context */ if( ctx == NULL ) { ERR_print_errors_fp(stderr); abort(); -- 2.20.1