all: wordblah wordblah_player
wordblah: wordblah.c wordblah.h constantstrings.h
- clang wordblah.c -lgd -lz -lcrypto -o wordblah
-
+ clang wordblah.c -o wordblah -lgd -lz -lcrypto
+
wordblah_player: wordblah_player.c wordblah.h wordblah.gresource.xml wordblah_player.glade constantstrings.h
glib-compile-resources wordblah.gresource.xml --target wordblah_resource.c --generate-source
- clang -rdynamic -lz -lgd -lcrypto -o wordblah_player wordblah_player.c -Wall `pkg-config --cflags --libs gtk+-3.0`
+ clang -rdynamic -o wordblah_player wordblah_player.c -Wall `pkg-config --cflags --libs gtk+-3.0` -lgd -lz -lcrypto
unsigned int len;
digest_message ((const unsigned char *)password, strlen(password),
&hashed_sol_password, &len);
- char hashed_hex_pwd[256] = { (char) NULL };
+ char hashed_hex_pwd[256] = { '\0' };
encode_binary (hashed_hex_pwd, hashed_sol_password, len);
if (strcmp (p->hashed_solution_password, hashed_hex_pwd) == 0)
unsigned int len;
digest_message ((const unsigned char *)password, strlen(password),
&hashed_mas_password, &len);
- char hashed_hex_pwd[256] = { (char) NULL };
+ char hashed_hex_pwd[256] = { '\0' };
encode_binary (hashed_hex_pwd, hashed_mas_password, len);
if (strcmp (p->hashed_master_password, hashed_hex_pwd) == 0)