Less "pointer targets in passing argument differ in signedness" warnings.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-08 11:27:49 +00:00
parent e6fc90db6d
commit 3c6cb82e67
3 changed files with 11 additions and 10 deletions

View File

@@ -42,11 +42,11 @@ RCSID("$Id$");
#include <string.h>
struct {
const char *key;
const void *key;
const int keylen;
const int bitsize;
const char *plain;
const char *cipher;
const void *plain;
const void *cipher;
} tests[] = {
{
"\x00\x00\x00\x00\x00\x00\x00\x00"
@@ -103,12 +103,12 @@ struct {
}
};
const char cbc_key[16] =
const unsigned char cbc_key[16] =
"\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00";
const char cbc_iv[8] =
"\x01\x01\x01\x01\x01\x01\x01\x01";
const char cbc_in_data[32] =
const unsigned char cbc_in_data[32] =
"\x20\x20\x20\x20\x20\x20\x20\x20"
"\x20\x20\x20\x20\x20\x20\x20\x20"
"\x20\x20\x20\x20\x20\x20\x20\x20"