Compare commits

..
1 Commits
Author SHA1 Message Date
Michele Balistreri 9295aa6553 check OPEN SECURE CHANNEL response 2020-11-09 15:36:50 +01:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 28
versionCode 303
versionName "3.0.3"
versionCode 304
versionName "3.0.4"
}
compileOptions {
@@ -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);