crypto: cryptd - Switch to template create API
This patch changes cryptd to use the template-create function
instead of alloc in anticipation for the switch to new style
ahash algorithms.
Signed-off-by: Herbert Xu herb...@gondor.apana.org.au
---
crypto/cryptd.c | 53
On Wed, Jul 15, 2009 at 03:16:21PM +0800, Herbert Xu wrote:
crypto: cryptd - Switch to template create API
This patch changes cryptd to use the template-create function
instead of alloc in anticipation for the switch to new style
ahash algorithms.
Signed-off-by: Herbert Xu
On Wed, Jul 15, 2009 at 10:47:23AM +0200, Steffen Klassert wrote:
This introduces an uninitialized return value warning. err is not initialized
if cryptd_alloc_instance() fails.
Good catch!
Same here.
I'll send a patch to fix it.
Thanks.
--
Visit Openswan at http://www.openswan.org/