pluto: Fixed off by one error when reading private keys.

This commit is contained in:
Tobias Brunner
2011-04-12 15:54:29 +02:00
parent 24e0595437
commit 7f1fb6b69d
-1
View File
@@ -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);