[pkg-opensc-commit] [opensc] 143/295: card-dnie: Fix to dnie_ask_user_consent. Undefined flag caused a compilation error.
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit cd621531be54aba5374e1c9e12764641e7f57184
Author: Hannu Honkanen <hannu.honkanen at aventra.fi>
Date: Fri Dec 30 10:29:47 2016 +0200
card-dnie: Fix to dnie_ask_user_consent. Undefined flag caused a compilation error.
---
src/libopensc/card-dnie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libopensc/card-dnie.c b/src/libopensc/card-dnie.c
index dce1597..78c4807 100644
--- a/src/libopensc/card-dnie.c
+++ b/src/libopensc/card-dnie.c
@@ -223,7 +223,7 @@ int dnie_ask_user_consent(struct sc_card * card, const char *title, const char *
LOG_FUNC_RETURN(card->ctx, SC_ERROR_INVALID_ARGUMENTS);
if (GET_DNIE_UI_CTX(card).user_consent_enabled == 0
- || card->ctx & SC_CTX_FLAG_ENABLE_POPUPS) {
+ || card->ctx->flags & SC_CTX_FLAG_DISABLE_POPUPS) {
sc_log(card->ctx,
"User Consent or popups are disabled in configuration file");
LOG_FUNC_RETURN(card->ctx, SC_SUCCESS);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list