~singpolyma/cheogram-android

9182a300c5d0f6f715502c8be693080386bd3235 — Daniel Gultsch 2 years ago faa4c87
report fingerprint missmatch as securiy exception
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/xmpp/jingle/OmemoVerification.java
M src/main/java/eu/siacs/conversations/xmpp/jingle/OmemoVerification.java => src/main/java/eu/siacs/conversations/xmpp/jingle/OmemoVerification.java +1 -1
@@ 55,7 55,7 @@ public class OmemoVerification {
                throw new IllegalStateException("No session fingerprint has been previously provided");
            }
            if (!sessionFingerprint.equals(this.sessionFingerprint)) {
                throw new IllegalStateException("Session Fingerprints did not match");
                throw new SecurityException("Session Fingerprints did not match");
            }
            if (this.deviceId == null) {
                throw new IllegalStateException("No Device Id has been previously provided");