aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/xcbc.c')
-rw-r--r--crypto/xcbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/xcbc.c b/crypto/xcbc.c
index a82959df678c..86727403e5ab 100644
--- a/crypto/xcbc.c
+++ b/crypto/xcbc.c
@@ -301,7 +301,7 @@ static struct crypto_instance *xcbc_alloc(struct rtattr **tb)
301 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, 301 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER,
302 CRYPTO_ALG_TYPE_MASK); 302 CRYPTO_ALG_TYPE_MASK);
303 if (IS_ERR(alg)) 303 if (IS_ERR(alg))
304 return ERR_PTR(PTR_ERR(alg)); 304 return ERR_CAST(alg);
305 305
306 switch(alg->cra_blocksize) { 306 switch(alg->cra_blocksize) {
307 case 16: 307 case 16: