]> git.baikalelectronics.ru Git - kernel.git/commit
lib/digsig: pkcs_1_v1_5_decode_emsa cleanup
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 26 Jan 2012 17:13:26 +0000 (19:13 +0200)
committerJames Morris <jmorris@namei.org>
Wed, 1 Feb 2012 13:23:39 +0000 (00:23 +1100)
commitc2c528441d69b9a3b1ca38360a97ee52b7e04a90
tree66ea75588c31570245b7048693e15c72ce2ded34
parentf8278f6ea51e6fca83562196466646a83df6f53b
lib/digsig: pkcs_1_v1_5_decode_emsa cleanup

Removed useless 'is_valid' variable in pkcs_1_v1_5_decode_emsa(),
which was inhereted from original code. Client now uses return value
to check for an error.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Reviewed-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
lib/digsig.c