Call gpgme_check_version() before using other gpgpe functions.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 14 Feb 2011 02:46:33 +0000 (02:46 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 14 Feb 2011 02:46:33 +0000 (02:46 +0000)
commita28f22ee5c9f868c733572048bbbb1217957507b
tree9a23670d3fad226faa15ef289a32d9ffd3c4b598
parent0f54da55b8717543b08596e58c022ae49e70a184
Call gpgme_check_version() before using other gpgpe functions.

The function initializes some sub-systems, and for this reason alone
it must be invoked early in your program, before you make use of the
other functions in GPGME.
see http://pyme.sourceforge.net/doc/gpgme/Library-Version-Check.html

Patch from Bernhard Guillon.

git-svn-id: http://opkg.googlecode.com/svn/trunk@602 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_download.c