diff options
| author | Marcus Brinkmann <[email protected]> | 2001-11-22 18:48:53 +0000 | 
|---|---|---|
| committer | Marcus Brinkmann <[email protected]> | 2001-11-22 18:48:53 +0000 | 
| commit | 8993173dfbe433113380783ca286aa825d0bbf0f (patch) | |
| tree | 4314cb39a8bd6cdae5acf56410073ffc4dd6bc2c /gpgmeplug/gpgmeplug.c | |
| parent | removed stupid C bug (malloc of strlen(..) instead of 1+strlen) (diff) | |
| download | gpgme-8993173dfbe433113380783ca286aa825d0bbf0f.tar.gz gpgme-8993173dfbe433113380783ca286aa825d0bbf0f.zip  | |
2001-11-22  Marcus Brinkmann  <[email protected]>
	* gpgme.h (gpgme_set_protocol): New prototype.
2001-11-22  Marcus Brinkmann  <[email protected]>
	* Makefile.am (libgpgsmplug_la_LIBADD): New variable.
	(libgpgsmplug_la_LDFLAGS): Likewise.
	(libgpgsmplug_la_SOURCES): Likewise.
	(lib_LTLIBRARIES): Add libgpgsmplug.la.
	(INCLUDES): Include the local gpgme.h.
	* gpgmeplug.c (signMessage): Set protocol.
	(GPGMEPLUG_PROTOCOL) [!GPGMEPLUG_PROTOCOL]: Set
	GPGMEPLUG_PROTOCOL.
	* gpgsmplug.c: New file.
Diffstat (limited to '')
| -rw-r--r-- | gpgmeplug/gpgmeplug.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index eac049e6..05d14385 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/gpgmeplug/gpgmeplug.c @@ -52,6 +52,9 @@  #include <errno.h>  #include "gpgme.h" +#ifndef GPGMEPLUG_PROTOCOL +#define GPGMEPLUG_PROTOCOL GPGME_PROTOCOL_OpenPGP +#endif  #include "cryptplug.h" @@ -719,6 +722,7 @@ bool signMessage( const char*  cleartext,      return false;    gpgme_new (&ctx); +  gpgme_set_protocol (ctx, GPGMEPLUG_PROTOCOL);  | 
