[Webfunds-commits] java/webfunds/sox Crypto.java

Ben Laurie ben@algroup.co.uk
Fri, 05 Jan 2001 22:18:42 +0000


Ian Grigg wrote:
> 
> iang        01/01/05 14:44:33
> 
>   Modified:    webfunds/sox Crypto.java
>   Log:
>   attempt at equals() method for checking two keys are equal.
>   seems to work, but would benefit from review...
> +        RSAPublicKeyImpl ll = (RSAPublicKeyImpl) toCryptixKey(left);
> +        RSAPublicKeyImpl rr = (RSAPublicKeyImpl) toCryptixKey(right);
> +
> +        if (ll == null)               // toCryptixKey() can return null
> +            return false ;

So, vy you only testink ll?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff