libaacs | branch: refs/tags/0.3.0 | npzacs <[email protected]> | Sat Sep 24 16:44:52 2011 +0300| [f59f8ea2ee96d8d4e9c368da7071efce95ec9b7b] | committer: npzacs
Logging updates > http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=f59f8ea2ee96d8d4e9c368da7071efce95ec9b7b --- src/libaacs/aacs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libaacs/aacs.c b/src/libaacs/aacs.c index 7254b6e..0800006 100644 --- a/src/libaacs/aacs.c +++ b/src/libaacs/aacs.c @@ -1,6 +1,7 @@ /* * This file is part of libaacs * Copyright (C) 2009-2010 Obliter0n + * Copyright (C) 2009-2010 npzacs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -84,7 +85,7 @@ static int _validate_pk(const uint8_t *pk, gcry_cipher_close(gcry_h); if (!memcmp(dec_vd, "\x01\x23\x45\x67\x89\xAB\xCD\xEF", 8)) { - DEBUG(DBG_AACS, "Processing key is valid!\n"); + DEBUG(DBG_AACS, "Processing key %s is valid!\n", print_hex(str, pk, 16)); ret = 1; } @@ -146,6 +147,8 @@ static int _calc_mk(AACS *aacs, const char *path) X_FREE(buf); } + DEBUG(DBG_AACS, "Error calculating media key!\n"); + return 0; } _______________________________________________ libaacs-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libaacs-devel
