diff --git a/gpgmeplug/ChangeLog b/gpgmeplug/ChangeLog index d9d91ff9..5983b9d7 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 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: