Commit efda3240 authored by npzacs's avatar npzacs

Mark local function static

parent ca5b3847
......@@ -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",
......
......@@ -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);
......
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