if (cipher == NULL) cipher = PR_smprintf("");
pk11_makeCipherFlags(unsigned long ssl0, unsigned long ssl1){    char *cipher = NULL;    char *ret = NULL;    int i;    for (i=0; i < sizeof(ssl0)*8; i++) {	if (ssl0 & (1<<i)) {	    char *string;	    if ((1<<i) == SECMOD_FORTEZZA_FLAG) {		string = PR_smprintf("%s","FORTEZZA");	    } else {		string = PR_smprintf("0h0x%08x",1<<i);	    }	    if (cipher) {		char *tmp;		tmp = PR_smprintf("%s,%s",cipher,string);		PR_smprintf_free(cipher);		PR_smprintf_free(string);		tmp = cipher;	    } else {		cipher = string;	    }	}    }    for (i=0; i < sizeof(ssl0)*8; i++) {	if (ssl1 & (1<<i)) {	    if (cipher) {		char *tmp;		tmp = PR_smprintf("%s,0l0x%08",cipher,1<<i);		PR_smprintf_free(cipher);		tmp = cipher;	    } else {		cipher = PR_smprintf("0l0x%08x",1<<i);	    }	}    }    if (cipher == NULL) cipher = PR_smprintf("");    return cipher;}