]> www.vanbest.org Git - sasc-ng.git/commitdiff
cardclient-newcamd: disable NewCS client ident (from emun-sc)
authorleslie <unknown>
Mon, 16 Feb 2009 12:34:46 +0000 (20:34 +0800)
committerleslie <unknown>
Mon, 16 Feb 2009 12:34:46 +0000 (20:34 +0800)
systems/cardclient/newcamd.c

index 87a3c641c8eae9cd944e79959564cc345c598a9e..99c95b5b30e984708a5ffbfed468953677d55b30 100644 (file)
@@ -398,10 +398,11 @@ bool cCardClientNewCamd::Login(void)
   cTripleDes::ScheduleKey();
 
   // set NewCS client identification
-  struct CustomData cd;
-  InitCustomData(&cd,0x5644,0);
+  // this seems to conflict with other cardservers e.g. rqcs !!
+  //struct CustomData cd;
+  //InitCustomData(&cd,0x5644,0);
 
-  if(!SendMessage(&so,buffer,buffer[2]+3,true,&cd) || CmdReceive(&so)!=MSG_CLIENT_2_SERVER_LOGIN_ACK) {
+  if(!SendMessage(&so,buffer,buffer[2]+3,true) || CmdReceive(&so)!=MSG_CLIENT_2_SERVER_LOGIN_ACK) {
     PRINTF(L_CC_NEWCAMD,"failed to login to cardserver for username %s (proto %d)",username,protoVers);
     if(NextProto()) return Login();
     return false;