summaryrefslogtreecommitdiff
path: root/src/openvpn/win32.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:11 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:11 +0100
commit9d320b2bf4b83f6e2a3c679a399b88dfe57b879e (patch)
treec2862c0ce46b80f565a18a25fa96145ef59ad0b2 /src/openvpn/win32.h
parent1aff45d6fdfbc63a0256a831a8f8644a84708e9f (diff)
parent8e924e2c919e6fbeae0045b67ac54b9697306d7d (diff)
Update upstream source from tag 'upstream/2.5.5'
Update to upstream version '2.5.5' with Debian dir add1ff02b39ff7fc38c6c53654ab9263533c4f27
Diffstat (limited to 'src/openvpn/win32.h')
-rw-r--r--src/openvpn/win32.h8
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 */