summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/otpcalc/files')
-rw-r--r--sys-auth/otpcalc/files/otpcalc-0.97-skey-md5.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-auth/otpcalc/files/otpcalc-0.97-skey-md5.patch b/sys-auth/otpcalc/files/otpcalc-0.97-skey-md5.patch
new file mode 100644
index 000000000000..b6013e572254
--- /dev/null
+++ b/sys-auth/otpcalc/files/otpcalc-0.97-skey-md5.patch
@@ -0,0 +1,22 @@
+--- otpCalc-0.97-orig/callbacks.c 2008-08-21 00:23:04.000000000 +0200
++++ otpCalc-0.97/callbacks.c 2008-08-21 00:27:47.000000000 +0200
+@@ -90,7 +90,7 @@
+ unsigned char results[9];
+
+
+- hashes[SKEY] = md4lite;
++ hashes[SKEY] = md5lite;
+ hashes[MD4] = md4lite;
+ hashes[MD5] = md5lite;
+ hashes[RMD160] = rmd160lite;
+--- otpCalc-0.97-orig/otpCalc.man 2008-08-21 00:23:04.000000000 +0200
++++ otpCalc-0.97/otpCalc.man 2008-08-21 00:26:49.000000000 +0200
+@@ -30,7 +30,7 @@
+ cb l
+ cb l
+ cb l.
+-s/key#MD4
++s/key#MD5
+ otp-md4#MD4
+ otp-md5#MD5
+ otp-rmd160#RIPEMD-160