fix mfkey tools (issue #247) 250/head
authorpwpiwi <pwpiwi@users.noreply.github.com>
Sun, 26 Mar 2017 10:28:07 +0000 (12:28 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Sun, 26 Mar 2017 10:28:07 +0000 (12:28 +0200)
- add -std=c99 -D_ISOC99_SOURCE to compiler flags
- fix: include <string.h> instead of <strings.h> in mfkey64.c

tools/mfkey/Makefile
tools/mfkey/mfkey64.c

index da7d431a4edb917ea81369cff3cddc285dd41bea..1744e35a2763a7032dee232cd0a4c40891d26b38 100755 (executable)
@@ -1,7 +1,7 @@
 VPATH = ../../common/crapto1 ../../client
 CC = gcc
 LD = gcc
-CFLAGS = -I../../common -I../../client -Wall -O4
+CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3
 LDFLAGS =
 
 OBJS = crypto1.o crapto1.o util.o mfkey.o
index 4e9876c50524fe5ac0a9d9a8f86f4946822babe5..1b0028125c89071eb12fa1fdcd506dd2d60dbdd2 100755 (executable)
@@ -1,5 +1,5 @@
 #include <stdio.h>
-#include <strings.h>
+#include <string.h>
 #include <inttypes.h>
 #include "crapto1/crapto1.h"
 #include "util.h"
Impressum, Datenschutz