Modifying the TLS state machine to include certificate exchange successfully
diff --git a/src/test/fsm/noseTlsAuthHolder.py b/src/test/fsm/noseTlsAuthHolder.py
index 127b10b..4e2fb35 100644
--- a/src/test/fsm/noseTlsAuthHolder.py
+++ b/src/test/fsm/noseTlsAuthHolder.py
@@ -3,25 +3,33 @@
def initTlsAuthHolderFsmTable(obj,St,Ev):
return {
- ## CurrentState Event Actions NextState
+ ## CurrentState Event Actions NextState
- (St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START),
+ (St.ST_EAP_TLS_HELLO_REQ, Ev.EVT_EAP_TLS_HELLO_REQ ):( (obj._eapTlsHelloReq,), St.ST_EAP_TLS_CERT_REQ),
- ## CurrentState Event Actions NextState
+ ## CurrentState Event Actions NextState
- (St.ST_EAP_TLS_HELLO_REQ, Ev.EVT_EAP_TLS_HELLO_REQ ):( (obj._eapTlsHelloReq,), St.ST_EAP_TLS_CERT_REQ),
+ (St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_TLS_HELLO_REQ),
- ## CurrentState Event Actions NextState
+ ## CurrentState Event Actions NextState
- (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ),
+ (St.ST_EAP_SETUP, Ev.EVT_EAP_SETUP ):( (obj._eapSetup,), St.ST_EAP_START),
- ## CurrentState Event Actions NextState
+ ## CurrentState Event Actions NextState
- (St.ST_EAP_ID_REQ, Ev.EVT_EAP_ID_REQ ):( (obj._eapIdReq,), St.ST_EAP_TLS_HELLO_REQ),
+ (St.ST_EAP_TLS_FINISHED, Ev.EVT_EAP_TLS_FINISHED ):( (obj._eapTlsFinished,), St.ST_EAP_TLS_DONE),
- ## CurrentState Event Actions NextState
+ ## CurrentState Event Actions NextState
- (St.ST_EAP_TLS_CERT_REQ, Ev.EVT_EAP_TLS_CERT_REQ ):( (obj._eapTlsCertReq,), St.ST_EAP_TLS_DONE),
+ (St.ST_EAP_START, Ev.EVT_EAP_START ):( (obj._eapStart,), St.ST_EAP_ID_REQ),
+
+ ## CurrentState Event Actions NextState
+
+ (St.ST_EAP_TLS_CHANGE_CIPHER_SPEC, Ev.EVT_EAP_TLS_CHANGE_CIPHER_SPEC ):( (obj._eapTlsChangeCipherSpec,), St.ST_EAP_TLS_FINISHED),
+
+ ## CurrentState Event Actions NextState
+
+ (St.ST_EAP_TLS_CERT_REQ, Ev.EVT_EAP_TLS_CERT_REQ ):( (obj._eapTlsCertReq,), St.ST_EAP_TLS_CHANGE_CIPHER_SPEC),
}