From b6d9ffebe8f3ae7ed300973d05063953eccd933c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 15 Jan 2019 09:59:36 +0100 Subject: [PATCH] biss: missing bissca prefix --- ebu/biss.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebu/biss.h b/ebu/biss.h index 0745c06..9f6366d 100644 --- a/ebu/biss.h +++ b/ebu/biss.h @@ -89,7 +89,7 @@ static inline uint8_t bissca_emm_get_last_table_id(const uint8_t *p_emm) static inline void bissca_emm_set_emm_cipher_type(uint8_t *p_emm, uint8_t bissca_emm_cipher_type) { p_emm[BISSCA_EMM_HEADER_SIZE+3] &= 0x0f; - p_emm[BISSCA_EMM_HEADER_SIZE+3] |= (emm_cipher_type << 5); + p_emm[BISSCA_EMM_HEADER_SIZE+3] |= (bissca_emm_cipher_type << 5); } static inline uint8_t bissca_emm_get_emm_cipher_type(const uint8_t *p_emm) @@ -195,7 +195,7 @@ static inline bool bissca_emm_validate(const uint8_t *p_emm) || i_section_size < BISSCA_EMM_HEADER_SIZE + 6 + bissca_emm_get_desclength(p_emm)) return false; - if (!descl_validate(emm_get_descl_const(p_emm), bissca_emm_get_desclength(p_emm))) + if (!descl_validate(bissca_emm_get_descl_const(p_emm), bissca_emm_get_desclength(p_emm))) return false; // TODO: validate RSA loop ?