Fix header protection.
This commit is contained in:
parent
53960c4643
commit
2d31877aec
@ -17,8 +17,8 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ISO7816_H__
|
#ifndef __LIBNFC_ISO7816_H__
|
||||||
#define __ISO7816_H__
|
#define __LIBNFC_ISO7816_H__
|
||||||
|
|
||||||
#define ISO7816_C_APDU_COMMAND_HEADER_LEN 4
|
#define ISO7816_C_APDU_COMMAND_HEADER_LEN 4
|
||||||
#define ISO7816_SHORT_APDU_MAX_DATA_LEN 256
|
#define ISO7816_SHORT_APDU_MAX_DATA_LEN 256
|
||||||
@ -28,4 +28,4 @@
|
|||||||
#define ISO7816_SHORT_C_APDU_MAX_LEN (ISO7816_C_APDU_COMMAND_HEADER_LEN + ISO7816_SHORT_APDU_MAX_DATA_LEN + ISO7816_SHORT_C_APDU_MAX_OVERHEAD)
|
#define ISO7816_SHORT_C_APDU_MAX_LEN (ISO7816_C_APDU_COMMAND_HEADER_LEN + ISO7816_SHORT_APDU_MAX_DATA_LEN + ISO7816_SHORT_C_APDU_MAX_OVERHEAD)
|
||||||
#define ISO7816_SHORT_R_APDU_MAX_LEN (ISO7816_SHORT_APDU_MAX_DATA_LEN + ISO7816_SHORT_R_APDU_RESPONSE_TRAILER_LEN)
|
#define ISO7816_SHORT_R_APDU_MAX_LEN (ISO7816_SHORT_APDU_MAX_DATA_LEN + ISO7816_SHORT_R_APDU_RESPONSE_TRAILER_LEN)
|
||||||
|
|
||||||
#endif
|
#endif /* !__LIBNFC_ISO7816_H__ */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user