Skip to content

Commit

Permalink
check OPEN SECURE CHANNEL response
Browse files Browse the repository at this point in the history
  • Loading branch information
bitgamma committed Nov 9, 2020
1 parent 86e6cb6 commit 9295aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 28
versionCode 303
versionName "3.0.3"
versionCode 304
versionName "3.0.4"
}

compileOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void setPairing(Pairing pairing) {
*/
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);
Expand Down

0 comments on commit 9295aa6

Please sign in to comment.