diff options
Diffstat (limited to 'Source/charon/sa')
-rw-r--r-- | Source/charon/sa/states/ike_sa_init_requested.c | 2 | ||||
-rw-r--r-- | Source/charon/sa/states/responder_init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/sa/states/ike_sa_init_requested.c b/Source/charon/sa/states/ike_sa_init_requested.c index 9652dbb6e..b4b0ce530 100644 --- a/Source/charon/sa/states/ike_sa_init_requested.c +++ b/Source/charon/sa/states/ike_sa_init_requested.c @@ -465,7 +465,7 @@ static status_t process_message(private_ike_sa_init_requested_t *this, message_t status_t process_nonce_payload (private_ike_sa_init_requested_t *this, nonce_payload_t *nonce_payload) { allocator_free(this->received_nonce.ptr); - nonce_payload->get_nonce(nonce_payload, &(this->received_nonce)); + this->received_nonce = nonce_payload->get_nonce(nonce_payload); return SUCCESS; } diff --git a/Source/charon/sa/states/responder_init.c b/Source/charon/sa/states/responder_init.c index 5832d69fd..e4792d6b5 100644 --- a/Source/charon/sa/states/responder_init.c +++ b/Source/charon/sa/states/responder_init.c @@ -455,7 +455,7 @@ static status_t build_nonce_payload(private_responder_init_t *this,nonce_payload this->received_nonce = CHUNK_INITIALIZER; this->logger->log(this->logger, CONTROL | MOST, "Get NONCE value and store it"); - nonce_request->get_nonce(nonce_request, &(this->received_nonce)); + this->received_nonce = nonce_request->get_nonce(nonce_request); this->logger->log(this->logger, CONTROL | MOST, "Create new NONCE value."); |