if ( nb > 2 && phrase[nb-2] == '\r' ) nb--;
SECU_FilePasswd(PK11SlotInfo *slot, PRBool retry, void *arg){    unsigned char phrase[200];    PRFileDesc *fd;    PRInt32 nb;    char *pwFile = arg;    if (!pwFile)	return 0;    if (retry) {	return 0;  /* no good retrying - the files contents will be the same */    }      fd = PR_Open(pwFile, PR_RDONLY, 0);    if (!fd) {	fprintf(stderr, "No password file \"%s\" exists.\n", pwFile);	return NULL;    }    nb = PR_Read(fd, phrase, sizeof(phrase));      PR_Close(fd);    /* handle the Windows EOL case */    if ((nb > 2) && (phrase[nb-2] == '\r') ) nb--;    if (phrase[nb-1] == '\n') {	phrase[nb-1] = '\0';	if (nb == 0) {	    fprintf(stderr,"password file contains no data\n");	    return NULL;	} else {	    return (char*) PORT_Strdup((char*)phrase);	}    }    return (char*) PORT_Strdup((char*)phrase);}