Fix various typo and macro guards issues

Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
diff --git a/library/ssl_client.c b/library/ssl_client.c
index 341e882..10566de 100644
--- a/library/ssl_client.c
+++ b/library/ssl_client.c
@@ -880,8 +880,10 @@
         int hostname_mismatch = ssl->hostname != NULL ||
                                 ssl->session_negotiate->hostname != NULL;
         if( ssl->hostname != NULL && ssl->session_negotiate->hostname != NULL )
+        {
             hostname_mismatch = strcmp(
                 ssl->hostname, ssl->session_negotiate->hostname ) != 0;
+        }
 
         if( hostname_mismatch )
         {