diff options
-rw-r--r-- | net/ipv4/esp4.c | 10 | ||||
-rw-r--r-- | net/ipv6/esp6.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index d2bf02e0a678..60173d4d3a0e 100644 --- a/net/ipv4/esp4.c +++ b/net/ipv4/esp4.c | |||
@@ -603,12 +603,12 @@ static int esp_init_authenc(struct xfrm_state *x) | |||
603 | BUG_ON(!aalg_desc); | 603 | BUG_ON(!aalg_desc); |
604 | 604 | ||
605 | err = -EINVAL; | 605 | err = -EINVAL; |
606 | if (aalg_desc->uinfo.auth.icv_fullbits/8 != | 606 | if (aalg_desc->uinfo.auth.icv_fullbits / 8 != |
607 | crypto_aead_authsize(aead)) { | 607 | crypto_aead_authsize(aead)) { |
608 | NETDEBUG(KERN_INFO "ESP: %s digestsize %u != %hu\n", | 608 | pr_info("ESP: %s digestsize %u != %hu\n", |
609 | x->aalg->alg_name, | 609 | x->aalg->alg_name, |
610 | crypto_aead_authsize(aead), | 610 | crypto_aead_authsize(aead), |
611 | aalg_desc->uinfo.auth.icv_fullbits/8); | 611 | aalg_desc->uinfo.auth.icv_fullbits / 8); |
612 | goto free_key; | 612 | goto free_key; |
613 | } | 613 | } |
614 | 614 | ||
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c index 83fc3a385a26..d21d7b22eebc 100644 --- a/net/ipv6/esp6.c +++ b/net/ipv6/esp6.c | |||
@@ -544,12 +544,12 @@ static int esp_init_authenc(struct xfrm_state *x) | |||
544 | BUG_ON(!aalg_desc); | 544 | BUG_ON(!aalg_desc); |
545 | 545 | ||
546 | err = -EINVAL; | 546 | err = -EINVAL; |
547 | if (aalg_desc->uinfo.auth.icv_fullbits/8 != | 547 | if (aalg_desc->uinfo.auth.icv_fullbits / 8 != |
548 | crypto_aead_authsize(aead)) { | 548 | crypto_aead_authsize(aead)) { |
549 | NETDEBUG(KERN_INFO "ESP: %s digestsize %u != %hu\n", | 549 | pr_info("ESP: %s digestsize %u != %hu\n", |
550 | x->aalg->alg_name, | 550 | x->aalg->alg_name, |
551 | crypto_aead_authsize(aead), | 551 | crypto_aead_authsize(aead), |
552 | aalg_desc->uinfo.auth.icv_fullbits/8); | 552 | aalg_desc->uinfo.auth.icv_fullbits / 8); |
553 | goto free_key; | 553 | goto free_key; |
554 | } | 554 | } |
555 | 555 | ||