crypto: dh - Consistenly return negative error codes
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 8 Nov 2016 23:48:22 +0000 (15:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Nov 2016 09:45:04 +0000 (17:45 +0800)
commit8edda7d22a95caddcc66431e4564c7d03568da4d
treeb9a10d8e5e6a120fff9284ca4a94e815219a58aa
parent109e23bd10b5688895e61916435834c71a0bd1ed
crypto: dh - Consistenly return negative error codes

Fix the single instance where a positive EINVAL was returned.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/dh.c