fix char* vs. const char* (tests related part)

This commit is contained in:
Karel Miko
2017-09-18 09:24:19 +02:00
parent 0ceb1c1213
commit 3b663a199f
25 changed files with 80 additions and 80 deletions
+4 -4
View File
@@ -399,7 +399,7 @@ int blake2b_512_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[64];
} tests[] = {
{ "",
@@ -450,7 +450,7 @@ int blake2b_384_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[48];
} tests[] = {
{ "",
@@ -497,7 +497,7 @@ int blake2b_256_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[32];
} tests[] = {
{ "",
@@ -550,7 +550,7 @@ int blake2b_160_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[20];
} tests[] = {
{ "",
+4 -4
View File
@@ -387,7 +387,7 @@ int blake2s_256_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[32];
} tests[] = {
{ "",
@@ -441,7 +441,7 @@ int blake2s_224_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[28];
} tests[] = {
{ "",
@@ -485,7 +485,7 @@ int blake2s_160_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[20];
} tests[] = {
{ "",
@@ -527,7 +527,7 @@ int blake2s_128_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[16];
} tests[] = {
{ "",
+1 -1
View File
@@ -191,7 +191,7 @@ int md2_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[16];
} tests[] = {
{ "",
+1 -1
View File
@@ -254,7 +254,7 @@ int md4_test(void)
return CRYPT_NOP;
#else
static const struct md4_test_case {
char *input;
const char *input;
unsigned char hash[16];
} tests[] = {
{ "",
+1 -1
View File
@@ -314,7 +314,7 @@ int md5_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[16];
} tests[] = {
{ "",
+1 -1
View File
@@ -353,7 +353,7 @@ int rmd128_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[16];
} tests[] = {
{ "",
+1 -1
View File
@@ -412,7 +412,7 @@ int rmd160_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[20];
} tests[] = {
{ "",
+1 -1
View File
@@ -366,7 +366,7 @@ int rmd256_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[32];
} tests[] = {
{ "",
+1 -1
View File
@@ -431,7 +431,7 @@ int rmd320_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[40];
} tests[] = {
{ "",
+1 -1
View File
@@ -246,7 +246,7 @@ int sha1_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[20];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -88,7 +88,7 @@ int sha224_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[28];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -292,7 +292,7 @@ int sha256_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[32];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -90,7 +90,7 @@ int sha384_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[48];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -262,7 +262,7 @@ int sha512_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[64];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -90,7 +90,7 @@ int sha512_224_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[28];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -90,7 +90,7 @@ int sha512_256_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[32];
} tests[] = {
{ "abc",
+1 -1
View File
@@ -735,7 +735,7 @@ int tiger_test(void)
return CRYPT_NOP;
#else
static const struct {
char *msg;
const char *msg;
unsigned char hash[24];
} tests[] = {
{ "",