aboutsummaryrefslogtreecommitdiffstats
path: root/new.c
diff options
context:
space:
mode:
Diffstat (limited to 'new.c')
-rw-r--r--new.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/new.c b/new.c
new file mode 100644
index 0000000..9cf17d0
--- /dev/null
+++ b/new.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_new(gpgme_ctx_t *ctx)
+{
+ gpgme_error_t ret = gpgme_new(ctx);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_new", ret);
+ return ret;
+}