summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-20 22:51:00 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-20 22:51:00 +0000
commit2d0c1bdc9b58aff63211f0c44e913a49255c5fb7 (patch)
tree47a019b328fb61b911375af2d56fc48407b96b8d /sys-auth/otpcalc/files
parentVersion bump (diff)
downloadgentoo-2-2d0c1bdc9b58aff63211f0c44e913a49255c5fb7.tar.gz
gentoo-2-2d0c1bdc9b58aff63211f0c44e913a49255c5fb7.tar.bz2
gentoo-2-2d0c1bdc9b58aff63211f0c44e913a49255c5fb7.zip
Change default S/Key hash to MD5 in order to agree with sys-auth/skey.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r6 i686)
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