Fix a bug in Android Keystore updateAAD.

The variant of CipherSpi.engineUpdateAAD which takes ByteBuffers
delegated to a byte[]-taking variant of superclass instead of its own
class.

Bug: 18088752
Change-Id: I3b426bbdca54bbf7f6f3939589da07b24db14d0d
This commit is contained in:
Alex Klyubin
2015-06-19 15:50:45 -07:00
parent 7e786954e5
commit ae1e0e9265

View File

@@ -446,7 +446,7 @@ abstract class AndroidKeyStoreCipherSpiBase extends CipherSpi implements KeyStor
inputLen = input.length;
src.get(input);
}
super.engineUpdateAAD(input, inputOffset, inputLen);
engineUpdateAAD(input, inputOffset, inputLen);
}
@Override