From ddd427a8fcb3c0d2a9bc26849ff3d5c262678980 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 9 Apr 2014 14:47:58 +0200 Subject: [PATCH] Fixed spacing in entropy_gather() --- library/entropy.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/library/entropy.c b/library/entropy.c index 982892668..d62fecf5e 100644 --- a/library/entropy.c +++ b/library/entropy.c @@ -211,21 +211,21 @@ static int entropy_gather_internal( entropy_context *ctx ) */ int entropy_gather( entropy_context *ctx ) { - int ret; + int ret; #if defined(POLARSSL_THREADING_C) - if( ( ret = polarssl_mutex_lock( &ctx->mutex ) ) != 0 ) - return( ret ); + if( ( ret = polarssl_mutex_lock( &ctx->mutex ) ) != 0 ) + return( ret ); #endif - ret = entropy_gather_internal( ctx ); + ret = entropy_gather_internal( ctx ); #if defined(POLARSSL_THREADING_C) - if( polarssl_mutex_unlock( &ctx->mutex ) != 0 ) - return( POLARSSL_ERR_THREADING_MUTEX_ERROR ); + if( polarssl_mutex_unlock( &ctx->mutex ) != 0 ) + return( POLARSSL_ERR_THREADING_MUTEX_ERROR ); #endif - return ( ret ); + return( ret ); } int entropy_func( void *data, unsigned char *output, size_t len )