Revision 24bb9fdb

b/src/libstrongswan/plugins/serpent/serpent_crypter.c
162 162
{
163 163
	private_serpent_crypter_t *this;
164 164
	
165
	if (algo != ENCR_SERPENT_CBC || !(key_size == 16 || key_size == 32))
165
	if (algo != ENCR_SERPENT_CBC ||
166
	  !(key_size == 16 || key_size = 24 || key_size == 32))
166 167
	{
167 168
		return NULL;
168 169
	}
b/src/libstrongswan/plugins/twofish/twofish_crypter.c
162 162
{
163 163
	private_twofish_crypter_t *this;
164 164
	
165
	if (algo != ENCR_TWOFISH_CBC || !(key_size == 16 || key_size == 32))
165
	if (algo != ENCR_TWOFISH_CBC ||
166
	  !(key_size == 16 || key_size = 24 || key_size == 32))
166 167
	{
167 168
		return NULL;
168 169
	}

Also available in: Unified diff