aboutsummaryrefslogtreecommitdiffstats
path: root/set_protocol.c
blob: 24ee522765f86c4e6b0bf27d324a8cb2952859f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* See LICENSE file for copyright and license details. */
#include "internal.h"


gpgme_error_t
liberror_gpgme_set_protocol(gpgme_ctx_t ctx, gpgme_protocol_t proto)
{
	gpgme_error_t ret = gpgme_set_protocol(ctx, proto);
	if (ret)
		liberror_gpgme_set_error("gpgme_set_protocol", ret);
	return ret;
}