-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>
> The attached patch should fix this, and remove the leading zero.
>
> I'm not sure whether the first byte meddling (which is removed by this
> patch) had any use, fixing the if statement would maybe have been
> enough, but I could not make out any use for it from the code.
>
Of course it is a law of nature to forget to actually attach the file
one mentions.
Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI015W4nZCKsdOncURAgDsAJ4wGvjwe6aUo7zPpXMPAWBZubW19wCguhrE
UlOq5GIHumrXVciVEeQCWzQ=
=NbsW
-----END PGP SIGNATURE-----
? crypto/cast/cast-586.s
Index: crypto/asn1/t_pkey.c
===================================================================
RCS file: /v/openssl/cvs/openssl/crypto/asn1/t_pkey.c,v
retrieving revision 1.43
diff -r1.43 t_pkey.c
90d89
< buf[0]=0;
92c91,92
< (neg[0] == '-')?" (Negative)":"") <= 0)
---
> (neg[0] == '-')?" (Negative)":"") <= 0) {
> buf[0]=0;
94c94,95
< n=BN_bn2bin(num,&buf[1]);
---
> }
> n=BN_bn2bin(num,&buf[0]);
96,98d96
< if (buf[1] & 0x80)
< n++;
< else buf++;