libaacs | branch: master | npzacs <npz...@gmail.com> | Mon Jul 23 15:56:00 2018 +0300| [efda32408e74b1ab3758c05bd137ac0ab92d086d] | committer: npzacs
Mark local function static > http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=efda32408e74b1ab3758c05bd137ac0ab92d086d --- src/libaacs/crypto.c | 2 +- src/libaacs/crypto.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libaacs/crypto.c b/src/libaacs/crypto.c index 4db7641..adf12c9 100644 --- a/src/libaacs/crypto.c +++ b/src/libaacs/crypto.c @@ -555,7 +555,7 @@ int crypto_aacs_verify_aacscc(const uint8_t *signature, const uint8_t *data, ui return !_aacs_verify(signature, aacs_cc_pubkey_x, aacs_cc_pubkey_y, data, len); } -int crypto_aacs_verify_cert(const uint8_t *cert) +static int crypto_aacs_verify_cert(const uint8_t *cert) { if (MKINT_BE16(cert+2) != 0x5c) { BD_DEBUG(DBG_AACS, "Certificate length is invalid (0x%04x), expected 0x005c\n", diff --git a/src/libaacs/crypto.h b/src/libaacs/crypto.h index 00410f1..93491eb 100644 --- a/src/libaacs/crypto.h +++ b/src/libaacs/crypto.h @@ -39,7 +39,6 @@ BD_PRIVATE void crypto_aacs_title_hash(const uint8_t *ukf, uint64_t len, uint8_t BD_PRIVATE int crypto_aacs_verify(const uint8_t *cert, const uint8_t *signature, const uint8_t *data, uint32_t len); BD_PRIVATE int crypto_aacs_verify_aacsla(const uint8_t *signature, const uint8_t *data, uint32_t len); BD_PRIVATE int crypto_aacs_verify_aacscc(const uint8_t *signature, const uint8_t *data, uint32_t len); -BD_PRIVATE int crypto_aacs_verify_cert(const uint8_t *cert); BD_PRIVATE int crypto_aacs_verify_host_cert(const uint8_t *cert); BD_PRIVATE int crypto_aacs_verify_drive_cert(const uint8_t *cert); _______________________________________________ libaacs-devel mailing list libaacs-devel@videolan.org https://mailman.videolan.org/listinfo/libaacs-devel