tests: Adhere to the docs and call gpgme_check_version.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2012 14:07:31 +0000 (16:07 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2012 14:07:31 +0000 (16:07 +0200)
* tests/t-engine-info.c: Call gpgme_check_version.

tests/t-engine-info.c

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