changeset 5369:06ee02f5ca2e

Correct remaining reference to P11Util.TrimZeroes
author andrew
date Wed, 12 Jun 2013 13:12:39 +0100
parents ea022c57bfb5
children 51692befea2e
files src/share/classes/sun/security/pkcs11/P11KeyAgreement.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java	Wed Jun 12 11:48:21 2013 +0100
+++ b/src/share/classes/sun/security/pkcs11/P11KeyAgreement.java	Wed Jun 12 13:12:39 2013 +0100
@@ -208,7 +208,7 @@
             byte[] secret = attributes[0].getByteArray();
             token.p11.C_DestroyObject(session.id(), keyID);
             // trim leading 0x00 bytes per JCE convention
-            return P11Util.trimZeroes(secret);
+            return KeyUtil.trimZeroes(secret);
         } catch (PKCS11Exception e) {
             throw new ProviderException("Could not derive key", e);
         } finally {