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 2104bf4..67ee565 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 d53fd8e..d8fe570 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);