Changeset View
Changeset View
Standalone View
Standalone View
sys/netipsec/key.c
Show First 20 Lines • Show All 8,589 Lines • ▼ Show 20 Lines | comp_algorithm_lookup(int alg) | ||||
int i; | int i; | ||||
for (i = 0; i < nitems(supported_calgs); i++) | for (i = 0; i < nitems(supported_calgs); i++) | ||||
if (alg == supported_calgs[i].sadb_alg) | if (alg == supported_calgs[i].sadb_alg) | ||||
return (supported_calgs[i].xform); | return (supported_calgs[i].xform); | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
jhb: Bah, I will drop this. |
Bah, I will drop this.