aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/af_alg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index 4665b79c729a..8ffc174a0154 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -405,7 +405,7 @@ int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con)
405 if (cmsg->cmsg_level != SOL_ALG) 405 if (cmsg->cmsg_level != SOL_ALG)
406 continue; 406 continue;
407 407
408 switch(cmsg->cmsg_type) { 408 switch (cmsg->cmsg_type) {
409 case ALG_SET_IV: 409 case ALG_SET_IV:
410 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv))) 410 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv)))
411 return -EINVAL; 411 return -EINVAL;