* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.

This commit is contained in:
Werner Koch 2002-06-26 12:51:24 +00:00
parent f60b29f2ee
commit d905375003
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-06-26 Werner Koch <wk@gnupg.org>
* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
2002-06-10 Werner Koch <wk@gnupg.org>
* errors.h (gnupg_error_token): Add new prototype.

View File

@ -196,6 +196,9 @@ map_to_assuan_status (int rc)
{
switch (rc)
{
case -1:
rc = ASSUAN_No_Data_Available;
break;
case 0: break;
case GNUPG_Bad_CA_Certificate:
case GNUPG_Bad_Certificate: