summaryrefslogtreecommitdiffstats
path: root/src/lib/krad
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-07-14 19:28:08 -0400
committerGreg Hudson <ghudson@mit.edu>2013-07-14 19:28:08 -0400
commit6e9ad5ceaea50e16a2534e191f65ccedbff3bc8b (patch)
treef7875bb0208fb51b5c8cd7b07a1b58c097438458 /src/lib/krad
parent443ce5fef316e3dc324fe84557a06b069dbe33f9 (diff)
downloadkrb5-6e9ad5ceaea50e16a2534e191f65ccedbff3bc8b.tar.gz
krb5-6e9ad5ceaea50e16a2534e191f65ccedbff3bc8b.tar.xz
krb5-6e9ad5ceaea50e16a2534e191f65ccedbff3bc8b.zip
Fix minor type issues in krad tests
Use unsigned char for test encodings, since the initializers use values greater than 127.
Diffstat (limited to 'src/lib/krad')
-rw-r--r--src/lib/krad/t_attr.c2
-rw-r--r--src/lib/krad/t_attrset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krad/t_attr.c b/src/lib/krad/t_attr.c
index e80d77b23b..eb2a780c89 100644
--- a/src/lib/krad/t_attr.c
+++ b/src/lib/krad/t_attr.c
@@ -29,7 +29,7 @@
#include "t_test.h"
-const static char encoded[] = {
+const static unsigned char encoded[] = {
0xba, 0xfc, 0xed, 0x50, 0xe1, 0xeb, 0xa6, 0xc3,
0xc1, 0x75, 0x20, 0xe9, 0x10, 0xce, 0xc2, 0xcb
};
diff --git a/src/lib/krad/t_attrset.c b/src/lib/krad/t_attrset.c
index afae5e4f0f..7928335ca4 100644
--- a/src/lib/krad/t_attrset.c
+++ b/src/lib/krad/t_attrset.c
@@ -34,7 +34,7 @@ const static unsigned char auth[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
-const static char encpass[] = {
+const static unsigned char encpass[] = {
0x58, 0x8d, 0xff, 0xda, 0x37, 0xf9, 0xe4, 0xca,
0x19, 0xae, 0x49, 0xb7, 0x16, 0x6d, 0x58, 0x27
};