ha: Add auth method for HA IKEv1 key derivation

Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
Thomas Egerer
2018-12-07 10:17:56 +01:00
committed by Tobias Brunner
parent 13f92f649e
commit eed20c21d3
9 changed files with 24 additions and 8 deletions
+2
View File
@@ -240,6 +240,7 @@ METHOD(ha_message_t, add_attribute, void,
case HA_OUTBOUND_CPI:
case HA_SEGMENT:
case HA_ESN:
case HA_AUTH_METHOD:
{
uint16_t val;
@@ -463,6 +464,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
case HA_OUTBOUND_CPI:
case HA_SEGMENT:
case HA_ESN:
case HA_AUTH_METHOD:
{
if (this->buf.len < sizeof(uint16_t))
{