On Sat, 30 Jan 2016 10:13, sasc0...@stud.hs-kl.de said: > error = gpgme_ctx_set_engine_info(mContext, GPGME_PROTOCOL_OpenPGP, NULL, > CONFIG_DIR); > if(error) > return false;
You should print the error here: err = gpgme_ctx_set_engine_info(mContext, GPGME_PROTOCOL_OpenPGP, NULL, CONFIG_DIR); if (err) { fprintf (stderr, "set_engine_info(%s) failed: %s <%s>\n", CONFIG_DIR, gpg_strerror (err), gpg_strsource (err)); return false; } You should better not use the symbol "error" because that is a glibc function and you _may_ run in conflicts. If you can't find the problem set the GPGME_DEBUG envvar to trace the operation. Shalom-Salam, Werner _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users