From: Pythagoras W. <py...@ec...> - 2000-05-11 22:27:02
|
On Thu, May 11, 2000 at 09:22:14AM +0100, Graham Barr wrote: :On Thu, May 11, 2000 at 07:11:22AM +0100, Graham Barr wrote: :> It would seem the bug is in Convert::ASN1, I will try to look into :> this today. : :And here is a patch, it will be on sourceforge shortly. If people can :test this and if all is OK I will do a perl-ldap and Convert::ASN :release to CPAN My test cases pass now. The output looks good to me. :- $len++ unless not($msb) == not($neg); :+ $len++ if $neg ? !$msb : $msb; It took running this through perl a few times for me to figure out what the difference was. Truly insidious. I almost never use the "named" versions of operators, so I had forgotten about their lower precedence. -- Py (Amateur Radio: KF6WFP) -- 3.141592653589793238462643383... Pythagoras Watson -- "Live long and may all your kernels pop." === py...@cs... ==== http://www.ecst.csuchico.edu/~py/ === |