diff --git a/security/john/Makefile b/security/john/Makefile index 6ecc03ebeffd..0ba5f94c5cd0 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -59,7 +59,8 @@ OPTIONS_DEFINE= DOCS #OPENMP #OPENMP_USES= compiler:openmp post-extract: - @${RM} ${WRKSRC}/pfx_fmt_plug.c ${WRKSRC}/ssh_fmt_plug.c + @${RM} ${WRKSRC}/pfx_fmt_plug.c ${WRKSRC}/rawSHA0_fmt_plug.c \ + ${WRKSRC}/ssh_fmt_plug.c \ post-patch: # Replace methods and types that were marked deprecated by OpenSSL 0.9.7 diff --git a/security/john/files/patch-rawSHA0__fmt__plug.c b/security/john/files/patch-rawSHA0__fmt__plug.c deleted file mode 100644 index a058e163a672..000000000000 --- a/security/john/files/patch-rawSHA0__fmt__plug.c +++ /dev/null @@ -1,27 +0,0 @@ ---- rawSHA0_fmt_plug.c.orig 2014-09-19 16:40:51 UTC -+++ rawSHA0_fmt_plug.c -@@ -6,6 +6,10 @@ - * Based on Raw-SHA1, but this is OpenSSL only. - */ - -+#include -+ -+#ifndef OPENSSL_NO_SHA0 -+ - #if FMT_EXTERNS_H - extern struct fmt_main fmt_rawSHA_0; - #elif FMT_REGISTERS_H -@@ -13,7 +17,6 @@ john_register_one(&fmt_rawSHA_0); - #else - - #include --#include - - #include "arch.h" - #include "misc.h" -@@ -208,3 +211,5 @@ struct fmt_main fmt_rawSHA_0 = { - }; - - #endif /* plugin stanza */ -+ -+#endif /* OPENSSL_NO_SHA0 */