On Mon, Jul 10, 2006 at 05:40:25PM +1200, Michal Ludvig wrote: > > ### setkey: > NET: Registered protocol family 15 > padlock: Fallback driver 'sha1-generic' could not be loaded! > __crypto_alloc_tfm(): err=1 <<< Yes, returned 1
Ah that's the problem. This is a kernel-style errno return. It needs to be negative to really be an error (something like -ENOENT or -ENOMEM would do for your case). Pretty soon I'll make crypto_alloc_tfm return an ERR_PTR instead of NULL so you could just return that. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html