summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-06-25 10:30:43 +0200
committerFrediano Ziglio <freddy77@gmail.com>2020-07-17 08:13:45 +0100
commitd38b8679361a235c0d7b3bf8a925129e1e435965 (patch)
tree7e6328c5ac0973588579f67ba774c82724e60ce1 /src
parent2333c79b65b4e439fb4b0c6d79e2bdd036c5bfcd (diff)
vreader: Do not log critical errors on unknown instruction
Fixes !9 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/vreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vreader.c b/src/vreader.c
index dba6b8c..7cfafb3 100644
--- a/src/vreader.c
+++ b/src/vreader.c
@@ -83,7 +83,7 @@ apdu_ins_to_string(int ins)
case CAC_GET_CERTIFICATE:
return "get certificate";
default:
- g_return_val_if_reached("unknown");
+ return "unknown";
}
}