From: Karl-Heinz Zimmer Date: Wed, 21 Nov 2001 23:23:24 +0000 (+0000) Subject: create signature (and write it to stdout for testing) X-Git-Tag: gpgme-1.2.0@1385~1258 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b3b345cdc4e090f606bd26e2108b16fbea20bcd;p=gpgme.git create signature (and write it to stdout for testing) --- diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index 84ecb68..c79d9ed 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/gpgmeplug/gpgmeplug.c @@ -51,7 +51,8 @@ #include #include -#include +#include "../gpgme/gpgme.h" +#include "../gpgme/util.h" #include "cryptplug.h" @@ -676,7 +677,7 @@ bool signMessage( const char* cleartext, char buf[1024]; size_t nread; - + gpgme_new (&ctx); gpgme_set_armor (ctx, 1); gpgme_set_textmode (ctx, 1);