2003-05-18 Marcus Brinkmann <marcus@g10code.de>

* verify.c (_gpgme_verify_status_handler): Return GPGME_No_Data
	for NODATA status without signatures.
This commit is contained in:
Marcus Brinkmann 2003-05-18 13:59:53 +00:00
parent db7c97cbaf
commit cd8f1c53cc
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-05-18 Marcus Brinkmann <marcus@g10code.de>
* verify.c (_gpgme_verify_status_handler): Return GPGME_No_Data
for NODATA status without signatures.
2003-05-05 Marcus Brinkmann <marcus@g10code.de> 2003-05-05 Marcus Brinkmann <marcus@g10code.de>
* key.c (_gpgme_key_append_name): Use decoded string to parse user id. * key.c (_gpgme_key_append_name): Use decoded string to parse user id.

View File

@ -467,6 +467,11 @@ _gpgme_verify_status_handler (void *priv, GpgmeStatusCode code, char *args)
return sig ? parse_valid_sig (sig, args) : GPGME_General_Error; return sig ? parse_valid_sig (sig, args) : GPGME_General_Error;
case GPGME_STATUS_NODATA: case GPGME_STATUS_NODATA:
if (!sig)
return GPGME_No_Data;
sig->status = GPGME_No_Data;
break;
case GPGME_STATUS_UNEXPECTED: case GPGME_STATUS_UNEXPECTED:
if (!sig) if (!sig)
return GPGME_General_Error; return GPGME_General_Error;