Skip to content
Snippets Groups Projects
Commit ca2aef27 authored by Emily Ehlert's avatar Emily Ehlert
Browse files

Fix unselect app

parent b15a2ede
Branches
No related merge requests found
...@@ -229,11 +229,6 @@ smartcard_process_key(struct plugin_context *context, const char *argv[], struct ...@@ -229,11 +229,6 @@ smartcard_process_key(struct plugin_context *context, const char *argv[], struct
rv = trySendAPDU(context->card_ctx, &wrapRequest, &result); rv = trySendAPDU(context->card_ctx, &wrapRequest, &result);
ERROR_CHECK(rv != EXIT_SUCCESS, "Transmit failed"); ERROR_CHECK(rv != EXIT_SUCCESS, "Transmit failed");
rv = unselectApp(context->card_ctx);
if(rv != 0) {
plog(context, PLOG_WARN, "Couldn't unselect app on smartcard");
}
RESPONSE_CHECK(result, "Wrapping operation on smartcard failed"); RESPONSE_CHECK(result, "Wrapping operation on smartcard failed");
// Prepare return for openvpn // Prepare return for openvpn
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment