1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Use gpg_err_set_errno to assign values to ERRNO.

This commit is contained in:
Werner Koch 2010-04-01 13:24:55 +00:00
parent 492f08ff68
commit f3839fe81d
18 changed files with 45 additions and 41 deletions

View file

@ -91,7 +91,7 @@ verify_signatures( int nfiles, char **files )
{
iobuf_close (fp);
fp = NULL;
errno = EPERM;
gpg_err_set_errno (EPERM);
}
if( !fp ) {
rc = gpg_error_from_syserror ();
@ -154,7 +154,7 @@ verify_one_file( const char *name )
{
iobuf_close (fp);
fp = NULL;
errno = EPERM;
gpg_err_set_errno (EPERM);
}
if( !fp ) {
rc = gpg_error_from_syserror ();