diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-04-12 15:54:29 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-04-12 15:54:29 +0200 |
commit | 7f1fb6b69dc21df511401b82ec266fe689ff48a2 (patch) | |
tree | 79cba194c999f2d03c232d408b4a1c8058222c6e /src/pluto | |
parent | 24e0595437cdddc1eed1ffd73cd400928349e096 (diff) | |
download | strongswan-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.c | 1 |
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); |