diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:35:02 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:35:02 +0100 |
commit | 8e924e2c919e6fbeae0045b67ac54b9697306d7d (patch) | |
tree | 2ddb2a40fd70018ada5fbab576002199771f67c5 /src/openvpn/win32.h | |
parent | f2b3dda12a731c2e0971cb7889728edaf23f6cb0 (diff) |
New upstream version 2.5.5upstream/2.5.5upstream
Diffstat (limited to 'src/openvpn/win32.h')
-rw-r--r-- | src/openvpn/win32.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/openvpn/win32.h b/src/openvpn/win32.h index 5d3371a..5c3bcc3 100644 --- a/src/openvpn/win32.h +++ b/src/openvpn/win32.h @@ -327,7 +327,13 @@ bool send_msg_iservice(HANDLE pipe, const void *data, size_t size, int openvpn_execve(const struct argv *a, const struct env_set *es, const unsigned int flags); -bool impersonate_as_system(); +/* + * openvpn_swprintf() is currently only used by Windows code paths + * and when enabled for all platforms it will currently break older + * OpenBSD versions lacking vswprintf(3) support in their libc. + */ +bool +openvpn_swprintf(wchar_t *const str, const size_t size, const wchar_t *const format, ...); #endif /* ifndef OPENVPN_WIN32_H */ #endif /* ifdef _WIN32 */ |