summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_download.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c
index b1f009f..16502d1 100644
--- a/libopkg/opkg_download.c
+++ b/libopkg/opkg_download.c
@@ -340,6 +340,8 @@ opkg_verify_file (char *text_file, char *sig_file)
gpgme_signature_t s;
char *trusted_path = NULL;
+ gpgme_check_version (NULL);
+
err = gpgme_new (&ctx);
if (err)