rv = (* handle->db->get)(handle->db, &checkkey, &checkdata, 0 ); if ( rv ) { return(SECFailure);
ret = (* handle->db->get)(handle->db, &checkkey, &checkdata, 0 ); if ( ret ) {  checkkey.data = KEYDB_FAKE_PW_CHECK_STRING; checkkey.size = KEYDB_FAKE_PW_CHECK_LEN; ret = (* handle->db->get)(handle->db, &checkkey, &checkdata, 0 ); if ( ret ) { return(SECFailure); }
SECKEY_HasKeyDBPassword(SECKEYKeyDBHandle *handle){    DBT checkkey, checkdata;    int rv;    if (handle == NULL) {	return(SECFailure);    }    checkkey.data = KEYDB_PW_CHECK_STRING;    checkkey.size = KEYDB_PW_CHECK_LEN;        rv = (* handle->db->get)(handle->db, &checkkey, &checkdata, 0 );    if ( rv ) {	return(SECFailure);    }    return(SECSuccess);}