Fix warning with MD/SHA ALT implementation
backport of 8b2641d
see #239
diff --git a/library/md2.c b/library/md2.c
index 17569c0..110cd95 100644
--- a/library/md2.c
+++ b/library/md2.c
@@ -51,13 +51,13 @@
#endif /* POLARSSL_PLATFORM_C */
#endif /* POLARSSL_SELF_TEST */
+#if !defined(POLARSSL_MD2_ALT)
+
/* Implementation that should never be optimized out by the compiler */
static void polarssl_zeroize( void *v, size_t n ) {
volatile unsigned char *p = v; while( n-- ) *p++ = 0;
}
-#if !defined(POLARSSL_MD2_ALT)
-
static const unsigned char PI_SUBST[256] =
{
0x29, 0x2E, 0x43, 0xC9, 0xA2, 0xD8, 0x7C, 0x01, 0x3D, 0x36,