projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5f61d
)
Use unsigned char rather than u_int8_t in random_string()
author
Tom Yu
<tlyu@mit.edu>
Sat, 13 May 2006 00:57:26 +0000
(
00:57
+0000)
committer
Tom Yu
<tlyu@mit.edu>
Sat, 13 May 2006 00:57:26 +0000
(
00:57
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18002
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/cc_memory.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/cc_memory.c
b/src/lib/krb5/ccache/cc_memory.c
index fd42710328df99cba02492d0fced945e783ead73..9ead3a6f56d173f973887bb0871c827373c4c1f7 100644
(file)
--- a/
src/lib/krb5/ccache/cc_memory.c
+++ b/
src/lib/krb5/ccache/cc_memory.c
@@
-517,7
+517,7
@@
random_string (krb5_context context, char *string, krb5_int32 length)
static const unsigned char charlist[] =
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
krb5_error_code err = 0;
- u
_int8_t
*bytes = NULL;
+ u
nsigned char
*bytes = NULL;
size_t bytecount = length - 1;
if (!err) {