diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-07-14 19:28:08 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-07-14 19:28:08 -0400 |
commit | 6e9ad5ceaea50e16a2534e191f65ccedbff3bc8b (patch) | |
tree | f7875bb0208fb51b5c8cd7b07a1b58c097438458 /src/lib/krad | |
parent | 443ce5fef316e3dc324fe84557a06b069dbe33f9 (diff) | |
download | krb5-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.c | 2 | ||||
-rw-r--r-- | src/lib/krad/t_attrset.c | 2 |
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 }; |