PRIntn *nSockets,
SSM_SSLThreadMakeConnectionSSL(SSMSSLDataConnection* conn,			       PRIntn *nSockets,			       PRPollDesc* pds)			       {  /* We've been told to enable TLS on this connection.     Clear the event, step up, and reconfigure sockets. */    PRFileDesc *stepUpFD = conn->stepUpFD;  SSMStatus rv = SSM_SUCCESS;    /* Make sure the control connection has settled */  SSM_LockResource(SSMRESOURCE(conn));  if ((pds->out_flags & PR_POLL_READ) != 0)    /* it's readable, so it should return immediately */    PR_WaitForPollableEvent(stepUpFD);    /* Step up to encryption. */  rv = SSMSSLDataConnection_TLSStepUp(conn);  conn->m_error = rv; /* tell the control connection */    /* Remove the step-up fd */  conn->stepUpFD = NULL;  pds->fd = NULL;  (*nSockets)--;  PR_DestroyPollableEvent(stepUpFD);    /* Notify ourselves to wake up the control connection */  SSM_NotifyResource(SSMRESOURCE(conn));  SSM_UnlockResource(SSMRESOURCE(conn));  return rv;}