diff options
author | Werner Koch <wk@gnupg.org> | 2004-03-16 11:49:37 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-03-16 11:49:37 +0100 |
commit | f8d44bc637a4c897fd4448de804ee08ae065e194 (patch) | |
tree | 03c71726ae3204c67c8dae3fbcdbd4b8c07376a6 /scd/card-dinsig.c | |
parent | * configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7. (diff) | |
download | gnupg2-f8d44bc637a4c897fd4448de804ee08ae065e194.tar.xz gnupg2-f8d44bc637a4c897fd4448de804ee08ae065e194.zip |
*** empty log message ***
Diffstat (limited to 'scd/card-dinsig.c')
-rw-r--r-- | scd/card-dinsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/card-dinsig.c b/scd/card-dinsig.c index bb070d5f0..df09bfb57 100644 --- a/scd/card-dinsig.c +++ b/scd/card-dinsig.c @@ -141,7 +141,7 @@ dinsig_enum_keypairs (CARD card, int idx, { *keyid = xtrymalloc (17); if (!*keyid) - return out_of_core (); + return gpg_error (gpg_err_code_from_errno (errno)); if (!idx) strcpy (*keyid, "DINSIG-DF01.C000"); else @@ -193,7 +193,7 @@ dinsig_read_cert (CARD card, const char *certidstr, buf = xtrymalloc (file->size); if (!buf) { - gpg_error_t tmperr = out_of_core (); + gpg_error_t tmperr = gpg_error (gpg_err_code_from_errno (errno)); sc_file_free (file); return tmperr; } |