diff options
Diffstat (limited to 'src/share/classes/sun/security/pkcs11/P11Digest.java')
-rw-r--r-- | src/share/classes/sun/security/pkcs11/P11Digest.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/share/classes/sun/security/pkcs11/P11Digest.java b/src/share/classes/sun/security/pkcs11/P11Digest.java index e9e6964fd..fb4629c85 100644 --- a/src/share/classes/sun/security/pkcs11/P11Digest.java +++ b/src/share/classes/sun/security/pkcs11/P11Digest.java @@ -1,5 +1,5 @@ /* - * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 2003-2010 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -308,16 +308,4 @@ final class P11Digest extends MessageDigestSpi { throw new ProviderException("update() failed", e); } } - - protected void finalize() throws Throwable { - try { - if ((session != null) && token.isValid()) { - cancelOperation(); - session = token.releaseSession(session); - } - } finally { - super.finalize(); - } - } - } |