tests: Adhere to the docs and call gpgme_check_version.

* tests/t-engine-info.c: Call gpgme_check_version.
This commit is contained in:
Werner Koch 2012-10-24 16:07:31 +02:00
parent bd24feaa86
commit cc59b75b21

View File

@ -73,6 +73,7 @@ main (int argc, char **argv )
gpgme_engine_info_t info; gpgme_engine_info_t info;
gpgme_error_t err; gpgme_error_t err;
gpgme_check_version (NULL);
err = gpgme_get_engine_info (&info); err = gpgme_get_engine_info (&info);
fail_if_err (err); fail_if_err (err);