From: Marcus Brinkmann Date: Tue, 26 Feb 2002 23:19:19 +0000 (+0000) Subject: 2002-02-27 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~1074 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd8b9caa00c9a61260719ce298c5a6cfeecf223f;p=gpgme.git 2002-02-27 Marcus Brinkmann * gpgmeplug.c (signMessage): Fix code syntax. --- diff --git a/trunk/gpgmeplug/ChangeLog b/trunk/gpgmeplug/ChangeLog index d9d91ff..5983b9d 100644 --- a/trunk/gpgmeplug/ChangeLog +++ b/trunk/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/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index 8db8e84..d866b29 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/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: