8131665: Bad exception message in HandshakeHash.getFinishedHash

Reviewed-by: xuelei
This commit is contained in:
Sean Coffey 2015-07-17 10:37:25 +01:00
parent 37836b1f3d
commit d2ce08a27a

View File

@ -355,7 +355,7 @@ final class HandshakeHash {
try { try {
return cloneDigest(finMD).digest(); return cloneDigest(finMD).digest();
} catch (Exception e) { } catch (Exception e) {
throw new Error("BAD"); throw new Error("Error during hash calculation", e);
} }
} }
} }