mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
The big Assuan error code removal.
This commit is contained in:
parent
7b9fa9da99
commit
eef036df23
54 changed files with 671 additions and 603 deletions
|
@ -54,7 +54,7 @@ do_encode_md (gcry_md_hd_t md, int algo, int pkalgo, unsigned int nbits,
|
|||
}
|
||||
frame = xtrymalloc (nframe);
|
||||
if (!frame)
|
||||
return OUT_OF_CORE (errno);
|
||||
return out_of_core ();
|
||||
memcpy (frame, gcry_md_read (md, algo), nframe);
|
||||
n = nframe;
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ do_encode_md (gcry_md_hd_t md, int algo, int pkalgo, unsigned int nbits,
|
|||
*/
|
||||
frame = xtrymalloc (nframe);
|
||||
if (!frame)
|
||||
return OUT_OF_CORE (errno);
|
||||
return out_of_core ();
|
||||
n = 0;
|
||||
frame[n++] = 0;
|
||||
frame[n++] = 1; /* block type */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue