Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix compiler warnings

ctx.c:679:7: warning: "ENABLE_CTAPI" is not defined
ctx.c:681:7: warning: "ENABLE_OPENCT" is not defined
  • Loading branch information...
commit a59ded782e090660652a4161720628b58eb5277d 1 parent b7c2836
@LudovicRousseau LudovicRousseau authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/libopensc/ctx.c
View
4 src/libopensc/ctx.c
@@ -676,9 +676,9 @@ int sc_context_create(sc_context_t **ctx_out, const sc_context_param_t *parm)
ctx->reader_driver = sc_get_cardmod_driver();
}
#endif
-#elif ENABLE_CTAPI
+#elif defined(ENABLE_CTAPI)
ctx->reader_driver = sc_get_ctapi_driver();
-#elif ENABLE_OPENCT
+#elif defined(ENABLE_OPENCT)
ctx->reader_driver = sc_get_openct_driver();
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.