Fix header protection.
This commit is contained in:
parent
53960c4643
commit
2d31877aec
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
|
||||
#ifndef __ISO7816_H__
|
||||
#define __ISO7816_H__
|
||||
#ifndef __LIBNFC_ISO7816_H__
|
||||
#define __LIBNFC_ISO7816_H__
|
||||
|
||||
#define ISO7816_C_APDU_COMMAND_HEADER_LEN 4
|
||||
#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_R_APDU_MAX_LEN (ISO7816_SHORT_APDU_MAX_DATA_LEN + ISO7816_SHORT_R_APDU_RESPONSE_TRAILER_LEN)
|
||||
|
||||
#endif
|
||||
#endif /* !__LIBNFC_ISO7816_H__ */
|
||||
|
|
Loading…
Add table
Reference in a new issue