From 428e077f52debf10e6427243567a9a197597e64f Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Wed, 5 Jul 2017 21:01:11 +0200 Subject: [PATCH] F --- .../smackx/omemo/internal/OmemoSession.java | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/OmemoSession.java b/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/OmemoSession.java index 9674b6afc..9a07e3ab0 100644 --- a/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/OmemoSession.java +++ b/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/internal/OmemoSession.java @@ -19,13 +19,13 @@ package org.jivesoftware.smackx.omemo.internal; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; - +import java.util.logging.Level; +import java.util.logging.Logger; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.util.StringUtils; - import org.jivesoftware.smackx.omemo.OmemoFingerprint; import org.jivesoftware.smackx.omemo.OmemoManager; import org.jivesoftware.smackx.omemo.OmemoStore; @@ -51,6 +51,8 @@ import org.jivesoftware.smackx.omemo.exceptions.NoRawSessionException; */ public abstract class OmemoSession { + private static final Logger LOGGER = Logger.getLogger(OmemoSession.class.getName()); + protected final T_Ciph cipher; protected final OmemoStore omemoStore; protected final OmemoDevice remoteDevice; @@ -128,16 +130,25 @@ public abstract class OmemoSession