- Fixed a whole bunch of dependencies on defines between files, examples and tests
diff --git a/programs/hash/hello.c b/programs/hash/hello.c
index f9dc3f3..d40c695 100644
--- a/programs/hash/hello.c
+++ b/programs/hash/hello.c
@@ -29,8 +29,17 @@
#include <stdio.h>
+#include "polarssl/config.h"
+
#include "polarssl/md5.h"
+#if !defined(POLARSSL_MD5_C)
+int main( void )
+{
+ printf("POLARSSL_MD5_C not defined.\n");
+ return( 0 );
+}
+#else
int main( void )
{
int i;
@@ -53,3 +62,4 @@
return( 0 );
}
+#endif /* POLARSSL_MD5_C */