Commit f0e89dcf authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* src/css.c: reworked my verbosity patch to fix a compilation issue.

parent 1c7a44d2
......@@ -434,7 +434,9 @@ int _dvdcss_titlekey( dvdcss_t dvdcss, int i_pos, dvd_key_t p_title_key )
}
else
{
DecryptTitleKey( dvdcss->css.p_disc_key, p_key );
PrintKey( dvdcss, "initial disc key ", dvdcss->css.p_disc_key );
DecryptTitleKey( dvdcss, dvdcss->css.p_disc_key, p_key );
PrintKey( dvdcss, "decrypted title key ", p_key );
i_ret = 1;
}
......@@ -1064,9 +1066,7 @@ static int DecryptDiscKey( dvdcss_t dvdcss, uint8_t const *p_struct_disckey,
*****************************************************************************/
static void DecryptTitleKey( dvd_key_t p_disc_key, dvd_key_t p_titlekey )
{
PrintKey( dvdcss, "original disc key ", p_disc_key );
DecryptKey( 0xff, p_disc_key, p_titlekey, p_titlekey );
PrintKey( dvdcss, "decrypted title key ", p_titlekey );
}
/*****************************************************************************
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment