JSS_throwMsg(env, SOCKET_EXCEPTION, "Failed to redo handshake");
JSS_throwMsgPrErr(env, SOCKET_EXCEPTION, "Failed to redo handshake");
Java_org_mozilla_jss_ssl_SSLSocket_resetHandshakeNative(    JNIEnv *env, jobject self, jboolean asClient){    JSSL_SocketData *sock;    SECStatus status;    if( JSSL_getSockData(env, self, &sock) != PR_SUCCESS) goto finish;    status = SSL_ResetHandshake(sock->fd, !asClient);    if(status != SECSuccess) {        JSS_throwMsg(env, SOCKET_EXCEPTION, "Failed to redo handshake");        goto finish;    }finish:    return;}