|
@@ -117,7 +117,14 @@ int KSGStart Framework::Start( Startparam p )
|
|
|
char *serverIp = mainClient->getServerIp();
|
|
|
unsigned char len = (unsigned char)textLength( serverIp );
|
|
|
dat->schreibe( (char*)&len, 1 );
|
|
|
- dat->schreibe( (char*)&serverIp, len );
|
|
|
+ dat->schreibe( serverIp, len );
|
|
|
+ dat->close();
|
|
|
+ dat->setDatei( "data/tmp/crypt.key" );
|
|
|
+ dat->erstellen();
|
|
|
+ dat->open( Datei::Style::schreiben );
|
|
|
+ len = mainClient->getKeyLen();
|
|
|
+ dat->schreibe( (char*)&len, 1 );
|
|
|
+ dat->schreibe( mainClient->zKey(), len );
|
|
|
dat->close();
|
|
|
dat->release();
|
|
|
|