bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/23768] doFinal() methods in javax.crypto.Cipher incorrectly


From: cvs-commit at developer dot classpath dot org
Subject: [Bug crypto/23768] doFinal() methods in javax.crypto.Cipher incorrectly resetting cipher state
Date: 11 Mar 2006 20:29:33 -0000


------- Comment #3 from cvs-commit at developer dot classpath dot org  
2006-03-11 20:29 -------
Subject: Bug 23768

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Casey Marshall <address@hidden> 06/03/11 05:21:58

Modified files:
        .              : ChangeLog 
        javax/crypto   : Cipher.java CipherSpi.java 

Log message:
        2006-03-10  Casey Marshall  <address@hidden>

        Fixes PR 23768.
        * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
        reset `state.'
        (doFinal, update): new methods.
        (init, init, init, init): initialize `state' after trying the
        implementation, which can throw an exception.
        * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
        methods.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6692&tr2=1.6693&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/Cipher.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/CipherSpi.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23768





reply via email to

[Prev in Thread] Current Thread [Next in Thread]