JSS_throwMsg(env, SOCKET_EXCEPTION, "SSL_ForceHandshake returned an error");
JSS_throwMsgPrErr(env, SOCKET_EXCEPTION, "SSL_ForceHandshake failed");
Java_org_mozilla_jss_ssl_SSLSocket_forceHandshake(JNIEnv *env, jobject self){    JSSL_SocketData *sock;    int rv;    /* get my fd */    if( JSSL_getSockData(env, self, &sock) != PR_SUCCESS ) goto finish;    /* do the work */    rv = SSL_ForceHandshake(sock->fd);    if( rv != SECSuccess ) {        JSS_throwMsg(env, SOCKET_EXCEPTION,            "SSL_ForceHandshake returned an error");        goto finish;    }finish:    return;}