Java 1.4 tweak.
@@ -1443,7 +1443,7 @@ public static TlsSecret PRF(TlsContext context, TlsSecret secret, String asciiLa
public static byte[] clone(byte[] data)
{
- return null == data ? (byte[])null : data.length == 0 ? EMPTY_BYTES : data.clone();
+ return null == data ? (byte[])null : data.length == 0 ? EMPTY_BYTES : (byte[])data.clone();
}
public static boolean constantTimeAreEqual(int len, byte[] a, int aOff, byte[] b, int bOff)
