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-0-3-0~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98872718669b1958dda7894419130f0d9e1996e6;p=gpgme.git create signature (and write it to stdout for testing) --- diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 84ecb68..c79d9ed 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/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);