summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-09-21 20:33:00 +0000
committerUlrich Müller <ulm@gentoo.org>2008-09-21 20:33:00 +0000
commit2b8b5f0614e30233d496578017db5f478b452615 (patch)
treeba2dc735af9e482d9369c89211f82ae660bfbd81 /sys-auth
parentVersion bump. (diff)
downloadhistorical-2b8b5f0614e30233d496578017db5f478b452615.tar.gz
historical-2b8b5f0614e30233d496578017db5f478b452615.tar.bz2
historical-2b8b5f0614e30233d496578017db5f478b452615.zip
Fix patch, xor is more elegant.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/otpcalc/Manifest8
-rw-r--r--sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch2
2 files changed, 5 insertions, 5 deletions
diff --git a/sys-auth/otpcalc/Manifest b/sys-auth/otpcalc/Manifest
index 3b2edd0e8f53..b993efec1c2e 100644
--- a/sys-auth/otpcalc/Manifest
+++ b/sys-auth/otpcalc/Manifest
@@ -3,7 +3,7 @@ Hash: SHA1
AUX otpcalc-0.97-badindex.diff 300 RMD160 7a4eb69a009df9d3666ce135a3fc9061284c6db6 SHA1 6ee616f85d942fcc1fb53633a9fb67ad55e64653 SHA256 e61ee91721e6accb7b54697619422f38bb961136462ef1a2342ba7ad11623703
AUX otpcalc-0.97-gtk2-gentoo.patch 2010 RMD160 859253c77a9f68e3f0fc048b579a0e4d6a5e6f1c SHA1 8e53b5bc316cdab11c3f2f99d3e8911b5b7d0b60 SHA256 edfabb39df8e1b82b084485cb5a9231956f0b22255f065624bb25fd73f4b7b82
-AUX otpcalc-0.97-sha1-byteorder.patch 1588 RMD160 81cee4d2837b2a5339ec884be40a768d7786766f SHA1 608168324daf41c5a7528eccf5407f85b559f15c SHA256 0dcdc419bf8d75ee69e07a78f2faa9d36a374fd0368c4b4d6795b4918cec7c93
+AUX otpcalc-0.97-sha1-byteorder.patch 1578 RMD160 fc50f7b165f072165b9e7e141d73452f98e1bef0 SHA1 b4a860ed0f6074dc05a1d1753c8fbd5e80b137c3 SHA256 35c4996f4fd3cb21b588777aceb93e8b066e6eabdbf29e4516d1c7081b1e9000
AUX otpcalc-0.97-skey-md5.patch 561 RMD160 c41fb24165fd4d8ebdd8179ad78982be3d347ceb SHA1 d6012fca59ea4c28bd24166ae96f37827e0764b9 SHA256 454fbed7108b5585872eb3b9145f02a92401d875c099a5714c5241ad4d210d47
AUX otpcalc-crypto-proto.diff 528 RMD160 94792659215b7948befdf0032c1cfa03ca60dd92 SHA1 6e1f518c345d10fdb31b1f8c677c28f63e4b89ef SHA256 906d0b413d531fe2782c2ab4724a44ca856072895e2538a4e78d59929136a00d
AUX otpcalc-man-table-format.diff 507 RMD160 2eaf50bdd0f50f70ff1ddac7d56bcfaadc8be9d1 SHA1 4afa7d24ba6aa57c72765e2d09ebcf1fd1b9d567 SHA256 cec72cec708bf6edf75c6236d8811544a9258c2b2710c520ee2c6acb65a599dd
@@ -15,7 +15,7 @@ MISC metadata.xml 392 RMD160 500534c054b9f912fb7b5742b23a9f65c97d69de SHA1 2b568
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-iEYEARECAAYFAkjU8eUACgkQOeoy/oIi7uwciQCgzWUx9YywJWWgcWQnO6qqpM3s
-uX8AmwWUDOWiswjS3OIn6ySOn1XqCtbb
-=SZl4
+iEYEARECAAYFAkjWr4YACgkQOeoy/oIi7uxVQACfWb8IqD6h18GXqNcxPGSfxTd5
+PC4AoIMkBwY9lLhfnCJdhv/ZJVcfe0Kg
+=VCwl
-----END PGP SIGNATURE-----
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 f799bf4e25de..e7e01019f8e0 100644
--- a/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch
+++ b/sys-auth/otpcalc/files/otpcalc-0.97-sha1-byteorder.patch
@@ -7,7 +7,7 @@
- memcpy(message, digest, 8);
+ /* Fix byte order, as required by RFC 2289 Appendix A */
+ for (i = 0; i < 8; i++)
-+ message[i] = digest[(i&4)+3-(i&3)];
++ message[i] = digest[i^3];
}
--- otpCalc-0.97-orig/sha1.h 2001-06-11 10:13:15.000000000 +0200