OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-785-gfcbb656
Gerrit Code Review
gerrit@openafs.org
Sat, 26 Feb 2011 04:01:01 -0800 (PST)
The following commit has been merged in the master branch:
commit fcbb656cf7b29b2f03592f3b56556e18b173092a
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Feb 25 01:23:38 2011 +0000
auth: Correctly write empty keyfiles
The new key handling code was creating empty keyfiles that were 0
bytes in length. The correct format for an empty keyfile is a file
containing a single 0 word (the number of keys in the file). Update
the code to write this form of empty KeyFile.
Change-Id: I93bf23f6044a70a74f52b94c4656cbd4bc4fc35b
Reviewed-on: http://gerrit.openafs.org/4051
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/auth/keys.c | 11 +++++++----
tests/auth/keys-t.c | 29 ++++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository