projects
/
project
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call gpgme_check_version() before using other gpgpe functions.
[project/opkg-lede.git]
/
libopkg
/
opkg_download.c
diff --git
a/libopkg/opkg_download.c
b/libopkg/opkg_download.c
index b1f009fa937ee9ce8e439d1dae273528ff5dcd67..16502d1b91634322f736e0f274ab54b8520402da 100644
(file)
--- 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)