kernel-klips: Pass a pointer to a properly sized integer for algorithm lookup
This commit is contained in:
@@ -823,7 +823,7 @@ static kernel_algorithm_t compression_algs[] = {
|
|||||||
static int lookup_algorithm(transform_type_t type, int ikev2)
|
static int lookup_algorithm(transform_type_t type, int ikev2)
|
||||||
{
|
{
|
||||||
kernel_algorithm_t *list;
|
kernel_algorithm_t *list;
|
||||||
int alg = 0;
|
u_int16_t alg = 0;
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user