projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6de04
)
had an extra count to the length of the principal names
author
John Kohl
<jtkohl@mit.edu>
Thu, 25 Oct 1990 13:53:01 +0000
(13:53 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Thu, 25 Oct 1990 13:53:01 +0000
(13:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1327
dc483132
-0cff-0310-8789-
dd5450dbe970
src/admin/create/kdb5_create.c
patch
|
blob
|
history
diff --git
a/src/admin/create/kdb5_create.c
b/src/admin/create/kdb5_create.c
index 46cdff6cd1cbf0f92302c804ec8b4a1d2ee14a1e..47d487f217f0a08f04fce83879e758ad75e92738 100644
(file)
--- a/
src/admin/create/kdb5_create.c
+++ b/
src/admin/create/kdb5_create.c
@@
-84,10
+84,10
@@
krb5_encrypt_block master_encblock;
krb5_data tgt_princ_entries[] = {
{0, 0},
- {sizeof(TGTNAME), TGTNAME} };
+ {sizeof(TGTNAME)
-1
, TGTNAME} };
krb5_data db_creator_entries[] = {
- {sizeof("db_creation"), "db_creation"} };
+ {sizeof("db_creation")
-1
, "db_creation"} };
/* XXX knows about contents of krb5_principal, and that tgt names
are of form TGT/REALM@REALM */