aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/gpgmeplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgmeplug/gpgmeplug.c')
-rw-r--r--gpgmeplug/gpgmeplug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c
index 8db8e840..d866b29f 100644
--- a/gpgmeplug/gpgmeplug.c
+++ b/gpgmeplug/gpgmeplug.c
@@ -761,6 +761,7 @@ bool signMessage( const char* cleartext,
size_t rSLen = 0;
char* rSig = 0;
bool bOk = false;
+ int sendCerts = 1;
init_StructuringInfo( structuring );
@@ -773,8 +774,7 @@ bool signMessage( const char* cleartext,
gpgme_set_armor (ctx, 1);
gpgme_set_textmode (ctx, 1);
- int sendCerts;
- switch ( config.sendCertificates() ) {
+ switch ( config.sendCertificates ) {
case SendCert_undef:
break;
case SendCert_DontSend: