Skip to content

Commit 0723f53

Browse files
committed
update crapto1 and fix compiling warnings
Crapto1 library from proxmark3 repo
1 parent ba072f1 commit 0723f53

File tree

8 files changed

+751
-624
lines changed

8 files changed

+751
-624
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ AC_FUNC_REALLOC
3535
AC_CHECK_FUNCS([memset])
3636

3737
# C99
38-
CFLAGS="$CFLAGS -std=c99"
38+
CFLAGS="$CFLAGS -std=c99 -O3 -Wall"
3939

4040
AC_CONFIG_FILES([Makefile
4141
src/Makefile])

src/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ AM_CFLAGS = @libnfc_CFLAGS@
22

33
bin_PROGRAMS = mfoc
44

5-
noinst_HEADERS = crapto1.h mfoc.h mifare.h nfc-utils.h
5+
noinst_HEADERS = crapto1.h mfoc.h mifare.h nfc-utils.h parity.h
66

7-
mfoc_SOURCES = crapto1.c crypto1.c mfoc.c mifare.c nfc-utils.c
7+
mfoc_SOURCES = crapto1.c crypto1.c mfoc.c mifare.c nfc-utils.c parity.c
88
mfoc_LDADD = @libnfc_LIBS@
99

1010
dist_man_MANS = mfoc.1

0 commit comments

Comments
 (0)