David Sommerseth
dde1574596
Reformatting source code to new coding style
...
This is the result after running 'clang-format -i' on all C++ files and
headers, with the defined formatting rules in .clang-format.
Only the openvpn/common/unicode-impl.hpp has been excluded, as that is
mostly a copy of an external project.
Signed-off-by: David Sommerseth <davids@openvpn.net>
2023-01-18 19:24:15 +01:00
David Sommerseth
8c94a8f774
copyright: Update to 2022
...
Signed-off-by: David Sommerseth <davids@openvpn.net>
2022-09-29 12:00:26 +02:00
David Sommerseth
3fbe0a2701
Update copyrights
...
Signed-off-by: David Sommerseth <davids@openvpn.net>
2020-03-18 19:37:32 +01:00
Arne Schwabe
9c50badeb4
Fix integer comparison problems introduced by the merge of released
...
Signed-off-by: Arne Schwabe <arne@openvpn.net>
2020-01-16 15:34:32 +01:00
Lev Stipakov
a4d9989d81
Update license on files moved from common
...
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2020-01-09 12:24:20 +02:00
James Yonan
1d090e7e88
Use openvpn::strerror_str() instead of std::strerror().
...
std::strerror() doesn't claim to be thread-safe, so
add openvpn::strerror_str() which is thread-safe by
virtue of the fact that it backs to strerror_r().
Signed-off-by: James Yonan <james@openvpn.net>
2020-01-09 12:23:18 +02:00
James Yonan
0368d32cb6
copyright: updated to 2017
...
Signed-off-by: James Yonan <james@openvpn.net>
2020-01-09 12:23:17 +02:00
James Yonan
6e51d02eff
license : this branch (common) is proprietary, so remove all GPL headers.
...
Signed-off-by: James Yonan <james@openvpn.net>
2020-01-09 12:23:17 +02:00
James Yonan
e6f67cedc7
copyright : updated to 2016
2020-01-09 12:23:17 +02:00
James Yonan
7dc71fa837
Added write_private() methods from core (no Windows implementation yet).
...
In httpcreds.hpp, use write_private() for creating creds
files rather than UMask.
2020-01-09 12:23:17 +02:00
James Yonan
a35ed0375f
Removed write_private() as it's no longer used on this branch.
2015-10-18 15:21:25 -07:00
James Yonan
d3d45937dc
Added write_private() method, for writing a string to a file
...
that is created with access bits limited to owner access.
2015-09-18 10:26:21 -07:00