Make hx509 compile on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
5d48156c51
commit
3982b965c6
@@ -113,7 +113,9 @@ dir_iter_start(hx509_context context,
|
|||||||
free(d);
|
free(d);
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
#ifndef _WIN32
|
||||||
rk_cloexec(dirfd(d->dir));
|
rk_cloexec(dirfd(d->dir));
|
||||||
|
#endif
|
||||||
d->certs = NULL;
|
d->certs = NULL;
|
||||||
d->iter = NULL;
|
d->iter = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user