Move curve448_test.c to be a full internal test
[openssl.git] / test / sanitytest.c
index e9afb443f91f75fc493b412c7fee197c20a05c18..da74e7eca1ac668303cb0fd1163ae2646db488cb 100644 (file)
@@ -8,9 +8,8 @@
  */
 
 #include <string.h>
  */
 
 #include <string.h>
-#include "internal/numbers.h"
-
 #include "testutil.h"
 #include "testutil.h"
+#include "internal/numbers.h"
 
 static int test_sanity_null_zero(void)
 {
 
 static int test_sanity_null_zero(void)
 {
@@ -19,7 +18,7 @@ static int test_sanity_null_zero(void)
 
     /* Is NULL equivalent to all-bytes-zero? */
     p = NULL;
 
     /* Is NULL equivalent to all-bytes-zero? */
     p = NULL;
-    memset(bytes, 0, sizeof bytes);
+    memset(bytes, 0, sizeof(bytes));
     return TEST_mem_eq(&p, sizeof(p), bytes, sizeof(bytes));
 }
 
     return TEST_mem_eq(&p, sizeof(p), bytes, sizeof(bytes));
 }