aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-07-10 22:18:26 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-07-12 00:05:42 +0200
commitad92c1f6cdf04b8771cf78c4dd7473b4e4282463 (patch)
tree625bd1e38557d9e811068887e15cbdd848435942 /src/pluto
parenta3ee331b0c7133bd53ed4dbd276db24e8a9de0d3 (diff)
downloadstrongswan-ad92c1f6cdf04b8771cf78c4dd7473b4e4282463.tar.bz2
strongswan-ad92c1f6cdf04b8771cf78c4dd7473b4e4282463.tar.xz
cosmetics
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/kernel_alg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pluto/kernel_alg.c b/src/pluto/kernel_alg.c
index 1590bdf02..f56e7a768 100644
--- a/src/pluto/kernel_alg.c
+++ b/src/pluto/kernel_alg.c
@@ -388,8 +388,9 @@ u_int kernel_alg_esp_enc_keylen(u_int alg_id)
u_int keylen = 0;
if (!ESP_EALG_PRESENT(alg_id))
+ {
goto none;
-
+ }
keylen = esp_ealg[alg_id].sadb_alg_maxbits/BITS_PER_BYTE;
switch (alg_id)
@@ -407,8 +408,7 @@ u_int kernel_alg_esp_enc_keylen(u_int alg_id)
none:
DBG(DBG_KLIPS,
- DBG_log("kernel_alg_esp_enc_keylen():"
- "alg_id=%d, keylen=%d",
+ DBG_log("kernel_alg_esp_enc_keylen(): alg_id=%d, keylen=%d",
alg_id, keylen)
)
return keylen;