Fix formatting: remove trailing spaces, #endif with comments (> 10 lines)
diff --git a/library/cipher.c b/library/cipher.c
index 7534b2f..d3687d7 100644
--- a/library/cipher.c
+++ b/library/cipher.c
@@ -376,7 +376,7 @@
return 0;
}
-#endif
+#endif /* POLARSSL_CIPHER_MODE_CFB */
#if defined(POLARSSL_CIPHER_MODE_CTR)
if( ctx->cipher_info->mode == POLARSSL_MODE_CTR )
@@ -392,7 +392,7 @@
return 0;
}
-#endif
+#endif /* POLARSSL_CIPHER_MODE_CTR */
#if defined(POLARSSL_CIPHER_MODE_STREAM)
if( ctx->cipher_info->mode == POLARSSL_MODE_STREAM )
@@ -407,7 +407,7 @@
return 0;
}
-#endif
+#endif /* POLARSSL_CIPHER_MODE_STREAM */
return POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE;
}
@@ -728,7 +728,7 @@
return 0;
}
-
+
int cipher_check_tag( cipher_context_t *ctx,
const unsigned char *tag, size_t tag_len )
{
@@ -765,7 +765,7 @@
return( 0 );
}
-#endif
+#endif /* POLARSSL_GCM_C */
return( 0 );
}
@@ -783,6 +783,6 @@
return( 0 );
}
-#endif
+#endif /* POLARSSL_SELF_TEST */
-#endif
+#endif /* POLARSSL_CIPHER_C */