diff options
Diffstat (limited to 'src/conftest/hooks/pretend_auth.c')
-rw-r--r-- | src/conftest/hooks/pretend_auth.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/conftest/hooks/pretend_auth.c b/src/conftest/hooks/pretend_auth.c index 451c414bd..4b7168cac 100644 --- a/src/conftest/hooks/pretend_auth.c +++ b/src/conftest/hooks/pretend_auth.c @@ -40,6 +40,11 @@ struct private_pretend_auth_t { identification_t *id; /** + * reserved bytes of ID payload + */ + char reserved[3]; + + /** * IKE_SA_INIT data for signature */ chunk_t ike_init; @@ -232,7 +237,7 @@ static bool build_auth(private_pretend_auth_t *this, } keymat = ike_sa->get_keymat(ike_sa); octets = keymat->get_auth_octets(keymat, TRUE, this->ike_init, - this->nonce, this->id); + this->nonce, this->id, this->reserved); if (!private->sign(private, scheme, octets, &auth_data)) { chunk_free(&octets); |