Commit 9c6563d7 authored by gates's avatar gates

Don't require key path to be set anymore. Instead, check some common places...

Don't require key path to be set anymore. Instead, check some common places when NULL is passed as key path.
parent e4e7a3bb
......@@ -161,12 +161,7 @@ BLURAY *bd_open(const char* device_path, const char* keyfile_path)
bd->h_libaacs = NULL;
bd->fp = NULL;
if (keyfile_path) {
_libaacs_open(bd, keyfile_path);
} else {
DEBUG(DBG_BLURAY | DBG_CRIT, "No keyfile provided. You will not be able to make use of crypto functionality (%p)\n", bd);
}
_libaacs_open(bd, keyfile_path);
// Take a quick stab to see if we want/need bdplus
// we should fix this, and add various string functions.
......
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