diff --git a/android/build.gradle b/android/build.gradle index ae03cbd..0538823 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,8 +8,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 28 - versionCode 303 - versionName "3.0.3" + versionCode 304 + versionName "3.0.4" } compileOptions { diff --git a/lib/src/main/java/im/status/keycard/applet/SecureChannelSession.java b/lib/src/main/java/im/status/keycard/applet/SecureChannelSession.java index 8346ac0..28013d9 100644 --- a/lib/src/main/java/im/status/keycard/applet/SecureChannelSession.java +++ b/lib/src/main/java/im/status/keycard/applet/SecureChannelSession.java @@ -120,7 +120,7 @@ public class SecureChannelSession { */ public void autoOpenSecureChannel(CardChannel apduChannel) throws IOException, APDUException { APDUResponse response = openSecureChannel(apduChannel, pairing.getPairingIndex(), publicKey); - + response.checkOK("OPEN SECURE CHANNEL failed"); processOpenSecureChannelResponse(response); response = mutuallyAuthenticate(apduChannel);