1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

First steps towards the W32CE port

This commit is contained in:
Werner Koch 2010-03-02 21:25:08 +00:00
parent 30a4096fbb
commit d232fd2e54
17 changed files with 405 additions and 110 deletions

View file

@ -115,7 +115,7 @@ do_bin2hex (const void *buffer, size_t length, char *stringbuf, int with_colon)
size_t nbytes = n * length + 1;
if (length && (nbytes-1) / n != length)
{
errno = ENOMEM;
gpg_err_set_errno (ENOMEM);
return NULL;
}
stringbuf = xtrymalloc (nbytes);
@ -232,7 +232,7 @@ hex2str_alloc (const char *hexstring, size_t *r_count)
{
if (r_count)
*r_count = 0;
errno = EINVAL;
gpg_err_set_errno (EINVAL);
return NULL;
}
if (r_count)