Commit eb8676e6 authored by npzacs's avatar npzacs

aacs_get_bdj_root_cert_hash(): do not return AACS2 content certificate hash

Application expects to get AACS1 SHA1 hash, not AACS2 SHA256 hash.
parent d21f488e
......@@ -1337,7 +1337,9 @@ const uint8_t *aacs_get_content_cert_id(AACS *aacs)
const uint8_t *aacs_get_bdj_root_cert_hash(AACS *aacs)
{
if (aacs && aacs->cc) {
if (!aacs->cc->aacs2) {
return aacs->cc->bdj_root_cert_hash;
}
}
return NULL;
}
......
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