aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-22 09:52:56 +0200
committerMarcel Holtmann <marcel@holtmann.org>2017-07-22 09:52:56 +0200
commitb18c489bf8c1c8e087cc97ca7ad8bfaded856e4d (patch)
tree7505cc958e31f3da81a316d664621dccec288995
parent8ec0bd04cb46dae188e2bbb131fea0253b768277 (diff)
downloadneard-b18c489bf8c1c8e087cc97ca7ad8bfaded856e4d.tar.gz
se: Fix issue with missing fall through handling
-rw-r--r--se/apdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/se/apdu.c b/se/apdu.c
index 8abf90e..f5ba28f 100644
--- a/se/apdu.c
+++ b/se/apdu.c
@@ -250,6 +250,7 @@ static int apdu_trailer_status(struct iso7816_apdu_resp *trailer)
case 0x90:
if (trailer->sw2 == 0)
return 0;
+ return -EIO;
case 0x63:
case 0x62:
return 0;