From: Marcus Brinkmann Date: Tue, 26 Feb 2002 23:19:19 +0000 (+0000) Subject: 2002-02-27 Marcus Brinkmann X-Git-Tag: V0-3-4~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85c7100872319b1a755d0bdafc61c9ebb6f5a0aa;p=gpgme.git 2002-02-27 Marcus Brinkmann * gpgmeplug.c (signMessage): Fix code syntax. --- 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: