aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-12-06 13:44:22 +0000
committerMartin Willi <martin@strongswan.org>2005-12-06 13:44:22 +0000
commitc3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15 (patch)
tree2baf1492686585fa1cd4dc1aa12dded74b4a85d9 /Source/charon/sa
parent59de50868b77f48ab78a31d4ad684e4e59d2e81f (diff)
downloadstrongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.bz2
strongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.xz
- code cleanup of encoding package
Diffstat (limited to 'Source/charon/sa')
-rw-r--r--Source/charon/sa/states/ike_sa_init_requested.c2
-rw-r--r--Source/charon/sa/states/responder_init.c2
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.");