Add entropy_self_test()
diff --git a/programs/test/selftest.c b/programs/test/selftest.c
index 07e2b12..edb1331 100644
--- a/programs/test/selftest.c
+++ b/programs/test/selftest.c
@@ -32,6 +32,7 @@
#include <string.h>
#include <stdio.h>
+#include "polarssl/entropy.h"
#include "polarssl/hmac_drbg.h"
#include "polarssl/ctr_drbg.h"
#include "polarssl/dhm.h"
@@ -193,6 +194,11 @@
return( ret );
#endif
+#if defined(POLARSSL_ENTROPY_C)
+ if( ( ret = entropy_self_test( v ) ) != 0 )
+ return( ret );
+#endif
+
/* Slow tests last */
#if defined(POLARSSL_PBKDF2_C)