aboutsummaryrefslogtreecommitdiffstats
path: root/op_createsubkey.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--op_createsubkey.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/op_createsubkey.c b/op_createsubkey.c
new file mode 100644
index 0000000..fc999ca
--- /dev/null
+++ b/op_createsubkey.c
@@ -0,0 +1,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;
+}