} else { PORT_SetError(PR_ADDRESS_NOT_SUPPORTED_ERROR); return SECFailure;
ssl_GetPeerInfo(sslSocket *ss){    sslConnectInfo *  ci;    PRNetAddr         sin;    int               rv;    PRFileDesc *      osfd;    PORT_Assert((ss->sec != 0));    osfd = ss->fd->lower;    ci   = &ss->sec->ci;    PORT_Memset(&sin, 0, sizeof(sin));    rv = osfd->methods->getpeername(osfd, &sin);    if (rv < 0) {	return SECFailure;    }    ss->TCPconnected = 1;    /* we have to mask off the high byte because AIX is lame */    if ((sin.inet.family & 0xff) == PR_AF_INET) {        PR_ConvertIPv4AddrToIPv6(sin.inet.ip, &ci->peer);	ci->port = sin.inet.port;    } else {        PORT_Assert(sin.ipv6.family == PR_AF_INET6);	ci->peer = sin.ipv6.ip;	ci->port = sin.ipv6.port;    }    return SECSuccess;}