1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

[omemo] Do not swallow the exception in OmemoAesCipher

This commit is contained in:
Florian Schmaus 2023-12-07 11:38:25 +01:00
parent 7135977cb7
commit 9e5564a597

View file

@ -1,6 +1,6 @@
/**
*
* Copyright 2017 Paul Schaub, 2019-2021 Florian Schmaus
* Copyright 2017 Paul Schaub, 2019-2023 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -47,7 +47,7 @@ public class OmemoAesCipher {
String message = "Unable to perform " + OmemoConstants.Crypto.CIPHERMODE
+ " operation requires by OMEMO. Ensure that a suitable crypto provider for is available."
+ " For example Bouncycastle on Android (BouncyCastleProvider)";
throw new AssertionError(message);
throw new AssertionError(message, e);
}
}