diff options
Diffstat (limited to 'security/gnome-keyring/files/patch-egg_egg-asn1x.c')
-rw-r--r-- | security/gnome-keyring/files/patch-egg_egg-asn1x.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/gnome-keyring/files/patch-egg_egg-asn1x.c b/security/gnome-keyring/files/patch-egg_egg-asn1x.c new file mode 100644 index 000000000000..30828f3f61c8 --- /dev/null +++ b/security/gnome-keyring/files/patch-egg_egg-asn1x.c @@ -0,0 +1,13 @@ +--- egg/egg-asn1x.c.orig 2010-09-04 12:08:41.000000000 +0200 ++++ egg/egg-asn1x.c 2010-09-04 12:10:05.000000000 +0200 +@@ -1988,8 +1988,8 @@ anode_write_integer_ulong (gulong value, + guchar buf[sizeof (gulong)]; + gint bytes, i, off; + +- for (i = 0; i < sizeof (ulong); ++i) { +- off = sizeof (ulong) - (i + 1); ++ for (i = 0; i < sizeof (gulong); ++i) { ++ off = sizeof (gulong) - (i + 1); + buf[i] = (value >> (off * 8)) & 0xFF; + } + |