summaryrefslogtreecommitdiff
path: root/pcr/john/params.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/john/params.h.patch')
-rw-r--r--pcr/john/params.h.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/john/params.h.patch b/pcr/john/params.h.patch
new file mode 100644
index 000000000..feba4fdf0
--- /dev/null
+++ b/pcr/john/params.h.patch
@@ -0,0 +1,17 @@
+--- src/params.h 2014-12-18 15:14:33.000000000 +0000
++++ src/params.h 2015-01-03 13:49:57.994775328 +0000
+@@ -135,8 +135,12 @@
+ /*
+ * File names.
+ */
+-#define CFG_FULL_NAME "$JOHN/john.conf"
+-#define CFG_ALT_NAME "$JOHN/john.ini"
++#ifndef CFG_FULL_NAME
++#define CFG_FULL_NAME "$JOHN/john.conf"
++#endif
++#ifndef CFG_ALT_NAME
++#define CFG_ALT_NAME "$JOHN/john.ini"
++#endif
+ #if JOHN_SYSTEMWIDE
+ #define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf"
+ #define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini"