Fix compilation error on Windows
SC_READER_CAP_PACE has been renamed to SC_READER_CAP_PACE_GENERIC during patch discussion. Thanks to Viktor Tarasov for the bug report
This commit is contained in:
parent
7a9b9f81b9
commit
af9dada86c
|
@ -2274,7 +2274,7 @@ int cardmod_use_reader(sc_context_t *ctx, void * pcsc_context_handle, void * pcs
|
||||||
char *log_text = "Reader supports PACE";
|
char *log_text = "Reader supports PACE";
|
||||||
if (priv->gpriv->enable_pace) {
|
if (priv->gpriv->enable_pace) {
|
||||||
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, log_text);
|
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, log_text);
|
||||||
reader->capabilities |= SC_READER_CAP_PACE;
|
reader->capabilities |= SC_READER_CAP_PACE_GENERIC;
|
||||||
} else {
|
} else {
|
||||||
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "%s %s", log_text, log_disabled);
|
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "%s %s", log_text, log_disabled);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue