Add context to crypto backend init (so it can print errors to callback).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@415 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-01-16 10:40:57 +00:00
parent f48c312fc7
commit af87ffbd37
6 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ static struct hash_alg *_get_alg(const char *name)
return NULL;
}
int crypt_backend_init(void)
int crypt_backend_init(struct crypt_device *ctx)
{
if (crypto_backend_initialised)
return 0;