gpg: Fix ot_gpgme_error_to_gio_error()
Need to extract the error code from a gpgme_error_t, can't just compare it directly.
This commit is contained in:
1 parent
223a9eaaa5
commit
cd1551b1ee
1 file changed
+1
-1
@@ -34,7 +34,7 @@ ot_gpgme_error_to_gio_error (gpgme_error_t gpg_error,
|
||||
|
||||
/* XXX This list is incomplete. Add cases as needed. */
|
||||
|
||||
switch (gpg_error)
|
||||
switch (gpgme_err_code (gpg_error))
|
||||
{
|
||||
/* special case - shouldn't be here */
|
||||
case GPG_ERR_NO_ERROR:
|
||||
|
||||
Reference in new issue
Block a user