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:
b68afb7
)
fixed crypter/signer in/out to conform with standard
author
Martin Willi
<martin@strongswan.org>
Wed, 12 Jul 2006 14:08:13 +0000
(14:08 -0000)
committer
Martin Willi
<martin@strongswan.org>
Wed, 12 Jul 2006 14:08:13 +0000
(14:08 -0000)
src/charon/sa/ike_sa.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/ike_sa.c
b/src/charon/sa/ike_sa.c
index
d0ea5ed
..
1b766e7
100644
(file)
--- a/
src/charon/sa/ike_sa.c
+++ b/
src/charon/sa/ike_sa.c
@@
-618,7
+618,7
@@
static status_t process_response(private_ike_sa_t *this, message_t *response)
* counter, as the new transaction used the next one */
if (new)
{
* counter, as the new transaction used the next one */
if (new)
{
- this->message_id_out
++
;
+ this->message_id_out
= new->get_message_id(new) + 1;
;
}
/* queue new transaction */
}
/* queue new transaction */
@@
-1047,13
+1047,13
@@
static status_t build_transforms(private_ike_sa_t *this, proposal_t *proposal,
if (initiator)
{
if (initiator)
{
- this->signer_in = signer_
i
;
- this->signer_out = signer_
r
;
+ this->signer_in = signer_
r
;
+ this->signer_out = signer_
i
;
}
else
{
}
else
{
- this->signer_in = signer_
r
;
- this->signer_out = signer_
i
;
+ this->signer_in = signer_
i
;
+ this->signer_out = signer_
r
;
}
/* SK_ei/SK_er used for encryption */
}
/* SK_ei/SK_er used for encryption */
@@
-1086,13
+1086,13
@@
static status_t build_transforms(private_ike_sa_t *this, proposal_t *proposal,
if (initiator)
{
if (initiator)
{
- this->crypter_in = crypter_
i
;
- this->crypter_out = crypter_
r
;
+ this->crypter_in = crypter_
r
;
+ this->crypter_out = crypter_
i
;
}
else
{
}
else
{
- this->crypter_in = crypter_
r
;
- this->crypter_out = crypter_
i
;
+ this->crypter_in = crypter_
i
;
+ this->crypter_out = crypter_
r
;
}
/* SK_pi/SK_pr used for authentication */
}
/* SK_pi/SK_pr used for authentication */