mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Use Assuan socket wrapper calls.
Made socket servers secure under Windows.
This commit is contained in:
parent
a6b11ea482
commit
31c19d1d68
46 changed files with 464 additions and 260 deletions
|
@ -27,9 +27,13 @@
|
|||
#ifdef HAVE_W32_SYSTEM
|
||||
typedef void *gnupg_fd_t;
|
||||
#define GNUPG_INVALID_FD ((void*)(-1))
|
||||
#define INT2FD(s) ((void *)(s))
|
||||
#define FD2INT(h) ((unsigned int)(h))
|
||||
#else
|
||||
typedef int gnupg_fd_t;
|
||||
#define GNUPG_INVALID_FD (-1)
|
||||
#define INT2FD(s) (s)
|
||||
#define FD2INT(h) (h)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue