eCryptfs: modified size of keysig in the ecryptfs_key_sig structure
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 21 Mar 2011 15:00:52 +0000 (16:00 +0100)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 28 Mar 2011 06:49:40 +0000 (01:49 -0500)
commit7762e230fd31fcc1abc03ba32ee957fadc8eafb4
treed49635aa3406a0e3590e1a0886c4aba9e5ed0145
parentcf35ca69131d5fc8febb74629d173e0731bf49c0
eCryptfs: modified size of keysig in the ecryptfs_key_sig structure

The size of the 'keysig' array is incremented of one byte in order to make
room for the NULL character. The 'keysig' variable is used, in the function
ecryptfs_generate_key_packet_set(), to find an authentication token with
the given signature and is printed a debug message if it cannot be
retrieved.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/keystore.c