Commit 7cfb71aa authored by Jon Lech Johansen's avatar Jon Lech Johansen

* drms.c: Preview endian fix.

parent ae157fbf
...@@ -341,6 +341,7 @@ int drms_init( void *_p_drms, uint32_t i_type, ...@@ -341,6 +341,7 @@ int drms_init( void *_p_drms, uint32_t i_type,
{ {
static char const p_secret[] = "tr1-th3n.y00_by3"; static char const p_secret[] = "tr1-th3n.y00_by3";
memcpy( p_drms->p_key, p_secret, 16 ); memcpy( p_drms->p_key, p_secret, 16 );
REVERSE( p_drms->p_key, 4 );
} }
else else
{ {
......
Markdown is supported
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