using namespace rdr;\r
using namespace std;\r
\r
-CSecurityVeNCrypt::CSecurityVeNCrypt(void) : csecurityStack(NULL)\r
+CSecurityVeNCrypt::CSecurityVeNCrypt(void) : csecurity(NULL)\r
{\r
haveRecvdMajorVersion = false;\r
haveRecvdMinorVersion = false;\r
case secTypeX509None:\r
case secTypeX509Vnc:\r
case secTypeX509Plain:\r
- csecurityStack = CSecurityVeNCrypt::getCSecurityStack(chosenType);\r
+ csecurity = CSecurityVeNCrypt::getCSecurityStack(chosenType);\r
break;\r
\r
case secTypeInvalid:\r
throw AuthFailureException("The server reported 0 VeNCrypt sub-types");\r
}\r
\r
- return csecurityStack->processMsg(cc);\r
+ return csecurity->processMsg(cc);\r
}\r
\r
CSecurityStack* CSecurityVeNCrypt::getCSecurityStack(int secType)\r
protected:\r
static CSecurityStack* getCSecurityStack(int secType);\r
\r
- CSecurityStack *csecurityStack;\r
+ CSecurity *csecurity;\r
bool haveRecvdMajorVersion;\r
bool haveRecvdMinorVersion;\r
bool haveSentVersion;\r
\r
SSecurityVeNCrypt::SSecurityVeNCrypt(void)\r
{\r
- ssecurityStack = NULL;\r
+ ssecurity = NULL;\r
haveSentVersion = false;\r
haveRecvdMajorVersion = false;\r
haveRecvdMinorVersion = false;\r
case secTypeX509None:\r
case secTypeX509Vnc:\r
case secTypeX509Plain:\r
- ssecurityStack = SSecurityVeNCrypt::getSSecurityStack(chosenType);\r
+ ssecurity = SSecurityVeNCrypt::getSSecurityStack(chosenType);\r
break; \r
case secTypeInvalid:\r
case secTypeVeNCrypt: /* This would cause looping */\r
}\r
\r
/* continue processing the messages */\r
- return ssecurityStack->processMsg(sc);\r
+ return ssecurity->processMsg(sc);\r
}\r
\r
SSecurityStack* SSecurityVeNCrypt::getSSecurityStack(int secType)\r
protected:\r
static SSecurityStack* getSSecurityStack(int secType);\r
\r
- SSecurityStack *ssecurityStack;\r
+ SSecurity *ssecurity;\r
bool haveSentVersion, haveRecvdMajorVersion, haveRecvdMinorVersion;\r
bool haveSentTypes, haveChosenType;\r
rdr::U8 majorVersion, minorVersion, numTypes;\r