aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-04-12 15:54:29 +0200
committerTobias Brunner <tobias@strongswan.org>2011-04-12 15:54:29 +0200
commit7f1fb6b69dc21df511401b82ec266fe689ff48a2 (patch)
tree79cba194c999f2d03c232d408b4a1c8058222c6e /src/pluto
parent24e0595437cdddc1eed1ffd73cd400928349e096 (diff)
downloadstrongswan-7f1fb6b69dc21df511401b82ec266fe689ff48a2.tar.bz2
strongswan-7f1fb6b69dc21df511401b82ec266fe689ff48a2.tar.xz
pluto: Fixed off by one error when reading private keys.
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pluto/keys.c b/src/pluto/keys.c
index 86b46c6c1..4b0e08791 100644
--- a/src/pluto/keys.c
+++ b/src/pluto/keys.c
@@ -494,7 +494,6 @@ static err_t process_rsa_secret(private_key_t **key)
if (ugh)
{
ugh = builddiag("RSA data malformed (%s): %s", ugh, tok);
- part++;
goto end;
}
rsa_chunk[part] = chunk_create(buf, sz);