@@ -342,24 +342,26 @@ int main(int argc, const char * argv[]) {
342342 }
343343
344344 if (rawFilePath ) {
345- char * buf = NULL ;
346- size_t bufSize = 0 ;
347- FILE * f = fopen (rawFilePath , "rb" );
348- if (!f )
349- reterror (-100 , "[TSSC] failed to read rawfile at \"%s\"\n" ,rawFilePath );
350- fseek (f , 0 , SEEK_END );
351- bufSize = ftell (f );
352- fseek (f , 0 , SEEK_SET );
353- buf = (char * )malloc (bufSize + 1 );
354- fread (buf , 1 , bufSize , f );
355- fclose (f );
345+ printf ("unsupported" );
346+ return 1 ;
347+ // char *buf = NULL;
348+ // size_t bufSize = 0;
349+ // FILE *f = fopen(rawFilePath, "rb");
350+ // if (!f)
351+ // reterror(-100, "[TSSC] failed to read rawfile at \"%s\"\n",rawFilePath);
352+ // fseek(f, 0, SEEK_END);
353+ // bufSize = ftell(f);
354+ // fseek(f, 0, SEEK_SET);
355+ // buf = (char*)malloc(bufSize+1);
356+ // fread(buf, 1, bufSize, f);
357+ // fclose(f);
356358
357- printf ("Sending TSS request:\n%s" ,buf );
358- char * rsp = tss_request_send_raw (buf , serverUrl , (int * )& bufSize );
359+ // printf("Sending TSS request:\n%s",buf);
360+ // char *rsp = tss_request_send_raw(buf, serverUrl, (int*)&bufSize);
359361
360- printf ("TSS server returned:\n%s\n" ,rsp );
361- free (rsp );
362- return 0 ;
362+ // printf("TSS server returned:\n%s\n",rsp);
363+ // free(rsp);
364+ // return 0;
363365 }
364366
365367 if (devVals .deviceBoard )
0 commit comments