Message-Id: <199805132259.PAA04232@crypto.eng.sun.com>
Date: Wed, 13 May 1998 15:59:12 -0700 (PDT)
From: Roland Schemers <Roland.Schemers@Eng>
Subject: Re: can't compile the sample code for JCE1.2
To: java-security@web2.javasoft.com, yuri@CS.UCLA.EDU
I don't have the code handy but it certainly looks like it should be:
for (int i=0; i < 4; i++)
If there is already an i++ within the for statement/block then it
should be:
for (int i=0; i < 4;)
roland
> Date: Wed, 13 May 1998 15:51:50 -0700 (PDT)
> From: Yuri Romanenko <yuri@CS.UCLA.EDU>
> To: java-security@web2.javasoft.com
> Subject: can't compile the sample code for JCE1.2
> MIME-Version: 1.0
>
> Hi,
>
> I am grad student at UCLA and enrolled in the computer security class.
> We've been trying to evaluate JCE and apparently we can't compile the
> sample code for Diffie-Hellman key exchange listed in
> API_users_guide.html. It complains about the following line:
>
> DHKeyAgreement2.java:181: ';' expected.
> for (int i=0; i> 4);
> ^
> 1 error
>
> Clearly this "for" loop has a problem. Please check it out and let me
> know ASAP. Thanks!!
>
>
> Yuri Romanenko
> yuri@cs.ucla.edu
>
>