summaryrefslogtreecommitdiff
path: root/card_7816.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-25 09:47:38 +0200
committerAlon Levy <alevy@redhat.com>2010-12-09 13:35:38 +0200
commit3ddc677d7f9f80c8f6c533dbc919e8b50d4bb8ef (patch)
tree396a501e85bc28df0202e02e5d507321b5948a59 /card_7816.c
parent7855787e65c1ba88452e276c50e3e9346e632c45 (diff)
libcaccard: more coding style
Diffstat (limited to 'card_7816.c')
-rw-r--r--card_7816.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/card_7816.c b/card_7816.c
index c903b62..5c7f487 100644
--- a/card_7816.c
+++ b/card_7816.c
@@ -519,7 +519,8 @@ vcard_make_response(VCard7816Status status)
response = vcard_response_new_status(status);
if (response == NULL) {
/* couldn't allocate the buffer, return memmory error */
- return VCARD_RESPONSE_GET_STATIC(VCARD7816_STATUS_EXC_ERROR_MEMORY_FAILURE);
+ return VCARD_RESPONSE_GET_STATIC(
+ VCARD7816_STATUS_EXC_ERROR_MEMORY_FAILURE);
}
}
ASSERT(response);
@@ -592,12 +593,13 @@ vcard7816_vm_process_apdu(VCard *card, VCardAPDU *apdu,
case VCARD7816_INS_ENVELOPE:
case VCARD7816_INS_PUT_DATA:
*response = vcard_make_response(
- VCARD7816_STATUS_ERROR_COMMAND_NOT_SUPPORTED);
+ VCARD7816_STATUS_ERROR_COMMAND_NOT_SUPPORTED);
break;
case VCARD7816_INS_SELECT_FILE:
if (apdu->a_p1 != 0x04) {
- *response = vcard_make_response(VCARD7816_STATUS_ERROR_FUNCTION_NOT_SUPPORTED);
+ *response = vcard_make_response(
+ VCARD7816_STATUS_ERROR_FUNCTION_NOT_SUPPORTED);
break;
}