diff options
Diffstat (limited to 'set_sub_protocol.c')
-rw-r--r-- | set_sub_protocol.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/set_sub_protocol.c b/set_sub_protocol.c new file mode 100644 index 0000000..14981cc --- /dev/null +++ b/set_sub_protocol.c @@ -0,0 +1,12 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_set_sub_protocol(gpgme_ctx_t ctx, gpgme_protocol_t proto) +{ + gpgme_error_t ret = gpgme_set_sub_protocol(ctx, proto); + if (ret) + liberror_gpgme_set_error("gpgme_set_sub_protocol", ret); + return ret; +} |