Skip to content

Commit 90e1876

Browse files
committed
Change sm3_plug.c to a non-plugin
It's needed for the dynamic format. We're supposed to be able to delete every single plugin and build should still succeed.
1 parent d026e1e commit 90e1876

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/Makefile.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ JOHN_OBJS = \
127127
lzma/LzmaDec.o lzma/Lzma2Dec.o lzma/Bra.o lzma/Bra86.o lzma/BraIA64.o lzma/CpuArch.o lzma/Delta.o \
128128
unique.o gpg2john.o \
129129
showformats.o \
130-
color.o
130+
color.o sm3.o
131131

132132
OPENCL_OBJS = opencl_common.o opencl_dynamic_loader.o opencl_autotune.o bt.o bt_hash_type_64.o bt_hash_type_128.o bt_hash_type_192.o bt_twister.o
133133

@@ -247,7 +247,6 @@ version.h: version.h.new
247247

248248
# Rebuild the list of plugins, but don't bump timestamp unless content changed.
249249
.plugin_fmt_list: FORCE
250-
@echo "echo <PLUGFORMATS_SRCS> > $@.new"
251250
@echo $(PLUGFORMATS_SRCS) > $@.new
252251
cmp -s $@.new $@ && $(RM) $@.new || $(MV) $@.new $@
253252

src/Makefile.legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ JOHN_OBJS = \
163163
lzma/LzmaDec.o lzma/Lzma2Dec.o lzma/Bra.o lzma/Bra86.o lzma/BraIA64.o lzma/CpuArch.o lzma/Delta.o \
164164
unique.o gpg2john.o \
165165
showformats.o \
166-
color.o
166+
color.o sm3.o
167167

168168
OCL_OBJS = opencl_common.o opencl_autotune.o bt.o bt_hash_type_64.o bt_hash_type_128.o bt_hash_type_192.o bt_twister.o
169169

File renamed without changes.

0 commit comments

Comments
 (0)