From 85c7100872319b1a755d0bdafc61c9ebb6f5a0aa Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 26 Feb 2002 23:19:19 +0000 Subject: [PATCH] 2002-02-27 Marcus Brinkmann * gpgmeplug.c (signMessage): Fix code syntax. --- gpgmeplug/ChangeLog | 4 ++++ gpgmeplug/gpgmeplug.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gpgmeplug/ChangeLog b/gpgmeplug/ChangeLog index d9d91ff..5983b9d 100644 --- a/gpgmeplug/ChangeLog +++ b/gpgmeplug/ChangeLog @@ -1,3 +1,7 @@ +2002-02-27 Marcus Brinkmann + + * gpgmeplug.c (signMessage): Fix code syntax. + 2002-02-01 Marcus Brinkmann * Makefile.am (EXTRA_gpgme_openpgp_la_SOURCES): New variable. diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 8db8e84..d866b29 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: -- 2.26.2