summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/openct-escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/openct-escape.c b/utils/openct-escape.c
index aec258c..6f19eb5 100644
--- a/utils/openct-escape.c
+++ b/utils/openct-escape.c
@@ -319,7 +319,7 @@ int main(int argc, char **argv)
#endif
break;
case RFID_PROTOCOL_MIFARE_CLASSIC:
- rc = mfcl_set_key(ph, MIFARE_CLASSIC_KEYB_DEFAULT);
+ rc = mfcl_set_key(ph, MIFARE_CL_KEYB_DEFAULT);
if (rc < 0) {
printf("key format error\n");
exit(1);
personal git repositories of Harald Welte. Your mileage may vary