PORT_SetError(PR_IO_ERROR);
secu_StdinToItem(SECItem *dst){    unsigned char buf[1000];    PRInt32 numBytes;    PRBool notDone = PR_TRUE;    dst->len = 0;    dst->data = NULL;    while (notDone) {	numBytes = PR_Read(PR_STDIN, buf, sizeof(buf));	if (numBytes < 0) {	    PORT_SetError(PR_IO_ERROR);	    return SECFailure;	}	if (numBytes == 0)	    break;	if (buf[numBytes-1] == '\n') {	    buf[numBytes-1] = '\0';	    notDone = PR_FALSE;	}	if (dst->data) {	    dst->data = (unsigned char*)PORT_Realloc(dst->data, 	                                             dst->len+numBytes);	    PORT_Memcpy(dst->data+dst->len, buf, numBytes);	} else {	    dst->data = (unsigned char*)PORT_Alloc(numBytes);	    PORT_Memcpy(dst->data, buf, numBytes);	}	dst->len += numBytes;    }    return SECSuccess;}