Herbert Xu 3b3fc322d9 crypto: hmac - Fix incorrect error value when creating instance
If shash_alloc_instance() fails, we return the wrong error value.
This patch fixes it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-07-15 16:52:55 +08:00
..
2008-12-25 11:05:13 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-11-02 08:47:06 +01:00
2008-12-25 11:02:07 +11:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:02 +10:00
2008-01-11 08:16:56 +11:00
2009-03-04 14:43:52 +08:00
2009-06-21 21:38:03 +08:00
2008-04-21 10:19:34 +08:00
2009-02-17 20:00:11 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:16 +11:00
2008-12-25 11:02:18 +11:00
2008-12-25 11:02:09 +11:00
2008-12-25 11:02:10 +11:00
2008-12-25 11:02:12 +11:00
2008-12-25 11:02:13 +11:00
2007-10-10 16:55:38 -07:00
2008-04-21 10:19:34 +08:00
2009-07-14 16:06:54 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:21 +11:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:22 +11:00
2009-07-14 12:58:06 +08:00
2008-03-06 18:56:19 +08:00