Skip to content

Commit

Permalink
Fix header protection.
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Mar 13, 2011
1 parent 53960c4 commit 2d31877
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libnfc/iso7816.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ */

0 comments on commit 2d31877

Please sign in to comment.