]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
TNC server did not issue a TNC_CONNECTION_STATE_HANDSHAKE NotifyConnection message
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 19 Mar 2011 15:43:22 +0000 (16:43 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 19 Mar 2011 15:43:22 +0000 (16:43 +0100)
src/libcharon/plugins/tnccs_11/tnccs_11.c
src/libcharon/plugins/tnccs_20/tnccs_20.c

index 2104bf401461680d58af195b57a68a66c4d84b9b..67ee565c765378709cf364c84d46063f1fdd3861 100644 (file)
@@ -237,6 +237,8 @@ METHOD(tls_t, process, status_t,
                }
                charon->imvs->notify_connection_change(charon->imvs,
                                                        this->connection_id, TNC_CONNECTION_STATE_CREATE);
+               charon->imvs->notify_connection_change(charon->imvs,
+                                                       this->connection_id, TNC_CONNECTION_STATE_HANDSHAKE);
        }
 
        data = chunk_create(buf, buflen);
index d53fd8eb78acf226b0e5a90f4746ee7692debf30..d8fe57017cc14e6d84e10fe6b7b186484724c704 100644 (file)
@@ -319,6 +319,8 @@ METHOD(tls_t, process, status_t,
                }
                charon->imvs->notify_connection_change(charon->imvs,
                                                        this->connection_id, TNC_CONNECTION_STATE_CREATE);
+               charon->imvs->notify_connection_change(charon->imvs,
+                                                       this->connection_id, TNC_CONNECTION_STATE_HANDSHAKE);
        }
 
        data = chunk_create(buf, buflen);