strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcacedf
)
- added compution of secrets
author
Jan Hutter
<jhutter@hsr.ch>
Wed, 23 Nov 2005 07:22:43 +0000
(07:22 -0000)
committer
Jan Hutter
<jhutter@hsr.ch>
Wed, 23 Nov 2005 07:22:43 +0000
(07:22 -0000)
Source/charon/states/responder_init.c
patch
|
blob
|
history
diff --git
a/Source/charon/states/responder_init.c
b/Source/charon/states/responder_init.c
index
7a2d385
..
1f8c1bd
100644
(file)
--- a/
Source/charon/states/responder_init.c
+++ b/
Source/charon/states/responder_init.c
@@
-334,6
+334,15
@@
static status_t process_message(private_responder_init_t *this, message_t *messa
this->logger->log(this->logger, ERROR, "Could not create nonce!");
return OUT_OF_RES;
}
+
+ status = this->ike_sa->compute_secrets(this->ike_sa,shared_secret,this->received_nonce, this->sent_nonce);
+ if (status != SUCCESS)
+ {
+ /* secrets could not be computed */
+ this->logger->log(this->logger, ERROR | MORE, "Secrets could not be computed!");
+ return status;
+ }
+
/* set up the reply */