diff options
Diffstat (limited to 'android/olm-sdk/src/androidTest/java/org/matrix')
-rw-r--r-- | android/olm-sdk/src/androidTest/java/org/matrix/olm/OlmPkTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/olm-sdk/src/androidTest/java/org/matrix/olm/OlmPkTest.java b/android/olm-sdk/src/androidTest/java/org/matrix/olm/OlmPkTest.java index 1577f3b..29f6946 100644 --- a/android/olm-sdk/src/androidTest/java/org/matrix/olm/OlmPkTest.java +++ b/android/olm-sdk/src/androidTest/java/org/matrix/olm/OlmPkTest.java @@ -116,6 +116,8 @@ public class OlmPkTest { (byte)0x1D, (byte)0xB9, (byte)0x2C, (byte)0x2A }; + assertTrue(privateKey.length == OlmPkDecryption.privateKeyLength()); + try { mOlmPkDecryption.setPrivateKey(privateKey); } catch (OlmException e) { |