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

Properly close files opened by es_fopen.

Allow setting of an empty passphrase.
Assorted W32 changes.
This commit is contained in:
Werner Koch 2007-07-16 09:53:47 +00:00
parent 5f97dd2c44
commit bce4ea798a
9 changed files with 65 additions and 23 deletions

View file

@ -861,6 +861,7 @@ es_func_file_create (void **cookie, int *filedes,
#endif
file_cookie->fd = fd;
file_cookie->no_close = 0;
*cookie = file_cookie;
*filedes = fd;