check for malformed IKE and ESP proposals

This commit is contained in:
Andreas Steffen
2010-12-01 09:50:30 +01:00
parent e79567d07e
commit a072c34a63
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -560,6 +560,7 @@ static status_t add_string_algo(private_proposal_t *this, chunk_t alg)
if (token == NULL)
{
DBG1(DBG_CFG, "algorithm '%.*s' not recognized", alg.len, alg.ptr);
return FAILED;
}