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


gpgme_error_t
liberror_gpgme_op_createsubkey(gpgme_ctx_t ctx, gpgme_key_t key, const char *algo,
                               unsigned long reserved, unsigned long expires, unsigned int flags)
{
	gpgme_error_t ret = gpgme_op_createsubkey(ctx, key, algo, reserved, expires, flags);
	if (ret)
		liberror_gpgme_set_error("gpgme_op_createsubkey", ret);
	return ret;
}