Bug in gpgme 0.4.2?

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
Tue Aug 5 00:13:04 CEST 2003


On Mon, Aug 04, 2003 at 09:24:25PM +0200, Albrecht Dreß wrote:
> If I run gpgme_op_verify() on a message for which the key is missing, I 
> get a GPGME general error as result instead of GPG_ERR_NO_PUBKEY.

Yes, this is a simple parser error (I compare against 9 instead '9' :(),
which is now fixed in CVS.

> However, for the latter case, IMHO the example on pg. 52 
> (gpgme_get_sig_status) is wrong, as "switch(sig->status)" will not hit 
> GPG_ERR_BAD_SIGNATURE (missing gpgme_err_code()).

Right, also fixed in CVS now.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




More information about the Gnupg-devel mailing list