aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2009-11-10 14:54:39 +0000
committerMarcus Brinkmann <[email protected]>2009-11-10 14:54:39 +0000
commite88c7782bf6917dd01bd55a1ff4275644cae823b (patch)
treeaf5e09613662345412c57ee8e09754f590add722 /src/gpgme.c
parent2009-11-10 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-e88c7782bf6917dd01bd55a1ff4275644cae823b.tar.gz
gpgme-e88c7782bf6917dd01bd55a1ff4275644cae823b.zip
2009-11-10 Marcus Brinkmann <[email protected]>
* gpgme.c (gpgme_new): Set default sub protocol. * gpgme-tool.c: Implement get sub protocol.
Diffstat (limited to 'src/gpgme.c')
-rw-r--r--src/gpgme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgme.c b/src/gpgme.c
index 7c523851..2d709e40 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -77,6 +77,7 @@ gpgme_new (gpgme_ctx_t *r_ctx)
ctx->keylist_mode = GPGME_KEYLIST_MODE_LOCAL;
ctx->include_certs = GPGME_INCLUDE_CERTS_DEFAULT;
ctx->protocol = GPGME_PROTOCOL_OpenPGP;
+ ctx->sub_protocol = GPGME_PROTOCOL_DEFAULT;
_gpgme_fd_table_init (&ctx->fdt);
LOCK (def_lc_lock);