projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b1f1e9
)
correct arithmetic error in computing keysize
author
John Kohl
<jtkohl@mit.edu>
Tue, 13 Feb 1990 16:50:21 +0000
(16:50 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 13 Feb 1990 16:50:21 +0000
(16:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@358
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kdb/kdb_dbm.c
patch
|
blob
|
history
diff --git
a/src/lib/kdb/kdb_dbm.c
b/src/lib/kdb/kdb_dbm.c
index c839b53722be2af6cd1fa634b64a90b34abc28ae..c8fe446cf4a167c425e1d2062457a0e5b7e8fbf9 100644
(file)
--- a/
src/lib/kdb/kdb_dbm.c
+++ b/
src/lib/kdb/kdb_dbm.c
@@
-535,7
+535,7
@@
krb5_db_entry *entry;
}
entry->mod_name = mod_princ;
nextloc += strlen(nextloc)+1; /* advance past 2nd string */
- keysize = contents->dsize - (nextloc - contents->dptr)
- sizeof(entry->key)
;
+ keysize = contents->dsize - (nextloc - contents->dptr);
if (keysize <= 0) {
krb5_free_principal(princ);
krb5_free_principal(mod_princ);