Skip to content

Commit f2c5718

Browse files
committedOct 5, 2022
8294734: Redundant override in AES implementation
Reviewed-by: valeriep, wetmore
1 parent 536c9a5 commit f2c5718

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed
 

‎src/java.base/share/classes/com/sun/crypto/provider/AESCipher.java

-18
Original file line numberDiff line numberDiff line change
@@ -548,22 +548,4 @@ protected Key engineUnwrap(byte[] wrappedKey,
548548
return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
549549
wrappedKeyType);
550550
}
551-
552-
/**
553-
* Finalize crypto operation with ByteBuffers
554-
*
555-
* @param input the input ByteBuffer
556-
* @param output the output ByteBuffer
557-
*
558-
* @return output length
559-
* @throws ShortBufferException
560-
* @throws IllegalBlockSizeException
561-
* @throws BadPaddingException
562-
*/
563-
@Override
564-
protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
565-
throws ShortBufferException, IllegalBlockSizeException,
566-
BadPaddingException {
567-
return super.engineDoFinal(input, output);
568-
}
569551
}

0 commit comments

Comments
 (0)
Please sign in to comment.