Skip to content

Commit

Permalink
use finally correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Aug 28, 2023
1 parent 6d7aa36 commit ee2cf6c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,10 @@ protected Ctap2Session.CredentialData ctapMakeCredential(
pinUvAuthProtocol,
state
);
} catch (Exception e) {
} finally {
if (pinToken != null) {
Arrays.fill(pinToken, (byte) 0);
}
throw e;
}
}

Expand Down

0 comments on commit ee2cf6c

Please sign in to comment.