summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@polito.it>2013-11-08 19:21:37 +0100
committerMimi Zohar <zohar@linux.vnet.ibm.com>2014-01-03 07:43:00 -0500
commitdcf4e392867bf98d50ad108ed7c2bfb941e8c33d (patch)
tree25f5668c6acf31bcb593937acac3673b350a942e /crypto
parentef8894b0ca3f123bd68dd748b162369ccbeca4a7 (diff)
downloadlinux-dcf4e392867bf98d50ad108ed7c2bfb941e8c33d.tar.gz
linux-dcf4e392867bf98d50ad108ed7c2bfb941e8c33d.tar.bz2
linux-dcf4e392867bf98d50ad108ed7c2bfb941e8c33d.zip
ima: remove unneeded size_limit argument from ima_eventdigest_init_common()
This patch removes the 'size_limit' argument from ima_eventdigest_init_common(). Since the 'd' field will never include the hash algorithm as prefix and the 'd-ng' will always have it, we can use the hash algorithm to differentiate the two cases in the modified function (it is equal to HASH_ALGO__LAST in the first case, the opposite in the second). Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions