44 |
|
|
45 |
void remove_crit_file_attrs (const char *fname, int force); |
void remove_crit_file_attrs (const char *fname, int force); |
46 |
BOOL user_is_admin (void); |
BOOL user_is_admin (void); |
47 |
|
extern "C" int pcsc_available (void); |
48 |
|
|
49 |
/* Global variables. */ |
/* Global variables. */ |
50 |
HINSTANCE glob_hinst; /* global instance for the dialogs */ |
HINSTANCE glob_hinst; /* global instance for the dialogs */ |
287 |
return false; |
return false; |
288 |
} |
} |
289 |
/* We enable smartcard support for GPG: >= 2 or >= 1.4.3 */ |
/* We enable smartcard support for GPG: >= 2 or >= 1.4.3 */ |
290 |
if (ma > 1 || pa >= 3) |
if ((ma > 1 || pa >= 4) && pcsc_available ()) |
291 |
scard_support = 1; |
scard_support = 1; |
292 |
|
|
293 |
gpgver[0] = ma; |
gpgver[0] = ma; |