2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

	* gpgme.texi (Verify): Get error code from SIG->status in the code
	for gpgme_get_sig_status.

gpgme/
2003-08-04  Marcus Brinkmann  <marcus@g10code.de>

	* verify.c (parse_new_sig): Fix status parsing case.
This commit is contained in:
Marcus Brinkmann 2003-08-04 21:11:11 +00:00
parent 9d0642c012
commit 275ef15b0b
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-08-04 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Verify): Get error code from SIG->status in the code
for gpgme_get_sig_status.
2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Key Management): Add can_authenticate flag.

View File

@ -3615,7 +3615,7 @@ The function @code{gpgme_get_sig_status} is equivalent to:
if (r_stat)
@{
switch (sig->status)
switch (gpg_err_code (sig->status))
@{
case GPG_ERR_NO_ERROR:
*r_stat = GPGME_SIG_STAT_GOOD;

View File

@ -1,3 +1,7 @@
2003-08-04 Marcus Brinkmann <marcus@g10code.de>
* verify.c (parse_new_sig): Fix status parsing case.
2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (struct _gpgme_subkey): Add flag CAN_AUTHENTICATE.

View File

@ -198,7 +198,7 @@ parse_new_sig (op_data_t opd, gpgme_status_code_t code, char *args)
end++;
i++;
}
if (end && end[0] && (!end[1] || !end[1] == ' '))
if (end && end[0] && (!end[1] || end[1] == ' '))
{
switch (end[0])
{
@ -206,7 +206,7 @@ parse_new_sig (op_data_t opd, gpgme_status_code_t code, char *args)
sig->status = gpg_error (GPG_ERR_UNSUPPORTED_ALGORITHM);
break;
case 9:
case '9':
sig->status = gpg_error (GPG_ERR_NO_PUBKEY);
break;