summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-09-18 10:30:52 +0000
committerUlrich Müller <ulm@gentoo.org>2008-09-18 10:30:52 +0000
commitb01b5264663868d9b0b2c8cd4b7fd87a16b73a7c (patch)
treed16666b1ea81e6f2100cbfe00ca6d230a64ebf80 /sys-auth
parentVersion bump, add einfo about log file by Martin Väth (bug #236281) (diff)
downloadgentoo-2-b01b5264663868d9b0b2c8cd4b7fd87a16b73a7c.tar.gz
gentoo-2-b01b5264663868d9b0b2c8cd4b7fd87a16b73a7c.tar.bz2
gentoo-2-b01b5264663868d9b0b2c8cd4b7fd87a16b73a7c.zip
Fix man page.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch b/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch
index eb9fe8cf823a..99cb08e3b8a5 100644
--- a/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch
+++ b/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch
@@ -5,11 +5,23 @@
digest[i] ^= digest[i+16];
- memcpy(message, digest, 8);
-+ /* Fix byte order */
++ /* Fix byte order, as required by RFC 2289 Appendix A */
+ for (i = 0; i < 8; i++)
+ message[i] = digest[(i&4)+3-(i&3)];
}
+--- otpCalc-0.97-orig/otpCalc.man 2008-09-17 22:23:00.000000000 +0200
++++ otpCalc-0.97/otpCalc.man 2008-09-17 22:23:47.000000000 +0200
+@@ -47,9 +47,6 @@
+ RFC 2289, RFC 1740
+ .SH "AUTHOR"
+ Anthony D. Urso <anthonyu@killa.net>.
+-.SH "BUGS"
+-SHA1 output differs from RFC2289; however, the output is consistant with
+-other implementations.
+ .SH "COPYRIGHT"
+ Copyright \(co 2001 Anthony D. Urso.
+ .br
--- otpCalc-0.97-orig/BUGS 2001-05-07 08:23:38.000000000 +0200
+++ otpCalc-0.97/BUGS 2008-09-17 21:02:36.000000000 +0200
@@ -16,3 +16,7 @@