default: ;
}
- } // j
- } // i
+ } /* j */
+ } /* i */
return private_key;
}
service->addr.len = 4;
service->addr.data = ip = ((guchar*)service) + sizeof(SslService);
- //remove all spaces in addr
+ /* remove all spaces in addr */
read_index = 0;
write_index = 0;
{
private_key = ssl_load_pkcs12(fp,cert_passwd);
}
- //!!!
+ /* !!! */
if (!private_key) {
fprintf(stderr,"can't load private key from %s\n",
filename);
ssl_debug_printf("ssl_init private key file %s successfully loaded\n",filename);
- //if item exists, remove first
+ /* if item exists, remove first */
tmp_private_key = g_hash_table_lookup(key_hash, service);
if (tmp_private_key) {
g_hash_table_remove(key_hash, service);
GetSystemTimeAsFileTime((FILETIME *)&time);
time.QuadPart +=
- (unsigned __int64) (1000*1000*10) // seconds
- * (unsigned __int64) (60 * 60 * 24) // days
- * (unsigned __int64) (17+30+31+365*18+5); // # of days
+ (unsigned __int64) (1000*1000*10) /* seconds */
+ * (unsigned __int64) (60 * 60 * 24) /* days */
+ * (unsigned __int64) (17+30+31+365*18+5); /* # of days */
*uuid_time = time.QuadPart;
}
HANDLE hProc ;
DWORD dwRet ;
- // If we can't open the process with PROCESS_TERMINATE rights,
- // then we give up immediately.
+ /* If we can't open the process with PROCESS_TERMINATE rights,
+ * then we give up immediately. */
hProc = OpenProcess(SYNCHRONIZE|PROCESS_TERMINATE, FALSE, dwPID);
if(hProc == NULL){
if( hInstLib == NULL )
return TA_FAILED ;
- // Get procedure addresses.
+ /* Get procedure addresses. */
lpfVDMTerminateTaskWOW = (BOOL (WINAPI *)(DWORD, WORD ))
GetProcAddress( hInstLib, "VDMTerminateTaskWOW" ) ;