0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 03:52:28 +02:00
OpenVPN is an open source VPN daemon
Go to file
Heiko Hund 3c19fcc209 fix warnings in event.c when building for win32-64
When compiling for 64-bit Windows gcc warns about

  "cast from pointer to integer of different size"

on two occasions in file event.c, due to invalid casting.
This patch removes the type casts and uses the correct
format specifier instead.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: James Yonan <james@openvpn.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/4979
Signed-off-by: David Sommerseth <davids@redhat.com>
2012-02-21 14:45:03 +01:00
contrib Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
debug Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
doxygen Added PolarSSL support: 2011-10-22 14:35:16 +02:00
easy-rsa Fixes to easy-rsa/2.0 2011-07-01 11:35:43 +02:00
images Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
install-win32 Made domake-win builds to use easy-rsa/2.0/openssl-1.0.0.cnf 2011-07-01 11:35:43 +02:00
management Merge remote branch SVN 2.1 into the git tree 2011-08-19 08:46:43 +02:00
msvc Change all CRLF linefeeds to LF linefeeds 2011-04-14 16:38:24 +02:00
plugin Further improvements to plugin support: 2011-10-22 17:22:51 +02:00
sample-config-files Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
sample-keys Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
sample-scripts UTF-8 X.509 distinguished names 2012-02-04 14:50:50 +01:00
service-win32 Merge branch 'svn-branch-2.1' into merge 2011-04-26 23:04:18 +02:00
suse Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
tap-win32 add missing break between "case IPv4" and "case IPv6", leading to the 2011-11-10 20:25:59 +01:00
win define access mode flag X_OK as 0 on Windows 2012-02-20 10:25:09 +01:00
.gitignore add .gitignore to official repository 2011-08-24 14:52:47 +02:00
.mailmap Added mapping files from SVN commit ID to more descriptive commit IDs. 2010-10-21 11:31:26 +02:00
.svncommitters Added mapping files from SVN commit ID to more descriptive commit IDs. 2010-10-21 11:31:26 +02:00
.svnignore Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
acinclude.m4 autoconf fixes for building on OSX 2012-02-09 13:19:45 +01:00
AUTHORS Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
base64.c Modified base64 code in preparation for PolarSSL merge 2011-10-22 11:44:36 +02:00
base64.h Modified base64 code in preparation for PolarSSL merge 2011-10-22 11:44:36 +02:00
basic.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
buffer.c move variable declaration to top of function 2012-02-17 11:03:44 +01:00
buffer.h Moved out of memory prototype to error.h, as the definition is in error.c 2012-02-05 13:01:24 +01:00
ChangeLog Preparing OpenVPN 2.3-alpha1 release 2012-02-21 11:55:42 +01:00
ChangeLog.IPv6 Windows IPv6 cleanup - properly remove IPv6 routes and interface config 2011-05-22 19:08:22 +02:00
circ_list.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
clinat.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
clinat.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
common.h Merge branch 'svn-branch-2.1' into merge 2011-04-26 23:04:18 +02:00
compat.c New Windows build fixes 2012-01-11 15:30:28 +01:00
compat.h Move away from openvpn_basename() over to platform provided basename() 2012-01-10 19:38:35 +01:00
configure_h.awk Add comile time information/settings from ./configure to --version 2010-10-21 21:18:17 +02:00
configure_log.awk Fix dependency checking for configure.h (v2) 2010-10-21 21:21:05 +02:00
configure.ac Windows UTF-8 input/output 2012-02-04 12:49:03 +01:00
COPYING Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
COPYRIGHT.GPL Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
crypto_backend.h Fixed wrong return type of cipher_kt_mode 2012-02-16 15:13:21 +01:00
crypto_openssl.c Fixed wrong return type of cipher_kt_mode 2012-02-16 15:13:21 +01:00
crypto_openssl.h Got rid of a few magic numbers in ntlm.c 2011-10-24 12:46:02 +02:00
crypto_polarssl.c Fixed wrong return type of cipher_kt_mode 2012-02-16 15:13:21 +01:00
crypto_polarssl.h Got rid of a few magic numbers in ntlm.c 2011-10-24 12:46:02 +02:00
crypto.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
crypto.h Hardening: periodically reset the PRNG's nonce value 2011-10-22 17:22:51 +02:00
cryptoapi.c remove wrapper code for Windows CryptoAPI function 2012-02-21 14:45:03 +01:00
cryptoapi.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
dhcp.c Fixed client issues with DHCP Router option extraction/deletion when 2011-12-14 17:04:05 +01:00
dhcp.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
doclean Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
domake-win Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
doval Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
dovalns Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
errlevel.h Raised D_PID_DEBUG_LOW from level 3 to 4 to reduce replay error 2011-12-14 17:02:44 +01:00
error.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
error.h Moved out of memory prototype to error.h, as the definition is in error.c 2012-02-05 13:01:24 +01:00
event.c fix warnings in event.c when building for win32-64 2012-02-21 14:45:03 +01:00
event.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
fdmisc.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
fdmisc.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
forward-inline.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
forward.c Made some options connection-entry specific 2012-02-13 20:43:37 +01:00
forward.h Added main/control docs 2011-07-28 23:56:24 +02:00
fragment.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
fragment.h Added data channel fragmentation docs 2011-07-28 23:27:58 +02:00
gremlin.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
gremlin.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
helper.c Implement IPv6 interface config with non-/64 prefix lengths. 2012-02-04 13:16:06 +01:00
helper.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
httpdigest.c Refactored message digest functions 2011-10-19 22:13:25 +02:00
httpdigest.h Change all CRLF linefeeds to LF linefeeds 2011-04-14 16:38:24 +02:00
init.c Made some options connection-entry specific 2012-02-13 20:43:37 +01:00
init.h Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release. 2011-04-24 17:22:34 +02:00
INSTALL Removed Win2k from supported platforms list in INSTALL and win/openvpn.nsi 2011-04-14 21:16:39 +02:00
INSTALL-win32.txt Updated INSTALL-win32.txt 2011-03-21 15:15:22 +01:00
integer.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
interval.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
interval.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
list.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
list.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
lladdr.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
lladdr.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
lzo.c Added compression docs 2011-07-28 23:17:51 +02:00
lzo.h Added compression docs 2011-07-28 23:17:51 +02:00
Makefile.am Makefile.am was missing ssl_common.h 2012-02-17 13:22:26 +01:00
manage.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
manage.h Added "management-query-remote" directive (client) to allow 2011-07-05 00:33:55 +00:00
mbuf.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
mbuf.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
memcmp.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
memdbg.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
misc.c replace check for TARGET_WIN32 with WIN32 2012-02-16 19:36:24 +01:00
misc.h use the underscore version of stat on Windows 2012-02-17 11:01:10 +01:00
mroute.c USE_PF_INET6 by default for v2.3 2011-08-25 20:19:58 +02:00
mroute.h Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release. 2011-04-24 17:22:34 +02:00
mss.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
mss.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
mstats.c Added "memstats" option to maintain real-time operating stats 2011-12-14 17:03:24 +01:00
mstats.h Added "memstats" option to maintain real-time operating stats 2011-12-14 17:03:24 +01:00
mtcp.c USE_PF_INET6 by default for v2.3 2011-08-25 20:19:58 +02:00
mtcp.h Added main/control docs 2011-07-28 23:56:24 +02:00
mtu.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
mtu.h Added main/control docs 2011-07-28 23:56:24 +02:00
mudp.c Added main/control docs 2011-07-28 23:56:24 +02:00
mudp.h Added main/control docs 2011-07-28 23:56:24 +02:00
multi.c Fix pool logging when IPv6 is not enabled 2012-01-14 18:18:55 +01:00
multi.h New feauture: Add --stale-routes-check 2011-09-30 09:48:42 +02:00
NEWS Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ntlm.c Got rid of a few magic numbers in ntlm.c 2011-10-24 12:46:02 +02:00
ntlm.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
occ-inline.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
occ.c Made some options connection-entry specific 2012-02-13 20:43:37 +01:00
occ.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
openvpn-plugin.h Add --route-pre-down/OPENVPN_PLUGIN_ROUTE_PREDOWN script/plug-in hook 2012-01-25 18:00:10 +01:00
openvpn.8 Documented --push-peer-info option 2012-02-05 17:35:03 +01:00
openvpn.c replace check for TARGET_WIN32 with WIN32 2012-02-16 19:36:24 +01:00
openvpn.h Refactored root SSL context initialisation 2011-10-19 22:31:46 +02:00
openvpn.spec.in Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
options.c Revamp check_file_access() checks in stdin scenarios 2012-02-20 11:08:33 +01:00
options.h Made some options connection-entry specific 2012-02-13 20:43:37 +01:00
otime.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
otime.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
packet_id.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
packet_id.h Fixed bug that incorrectly placed stricter TCP packet replay rules on 2011-04-26 22:29:11 +02:00
perf.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
perf.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
pf-inline.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
pf.c use the underscore version of stat on Windows 2012-02-17 11:01:10 +01:00
pf.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ping-inline.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ping.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ping.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
pkcs11_backend.h Separated OpenSSL-specific parts of the PKCS#11 driver 2011-10-22 11:43:28 +02:00
pkcs11_openssl.c UTF-8 X.509 distinguished names 2012-02-04 14:50:50 +01:00
pkcs11_polarssl.c Minor cleanup to enable warning-free Windows build: 2011-11-21 11:51:39 +01:00
pkcs11.c Modified base64 code in preparation for PolarSSL merge 2011-10-22 11:44:36 +02:00
pkcs11.h Separated OpenSSL-specific parts of the PKCS#11 driver 2011-10-22 11:43:28 +02:00
plugin.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
plugin.h Fix compile issues when plug-ins are disabled. 2012-02-13 17:15:24 +01:00
pool.c Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release. 2011-04-24 17:22:34 +02:00
pool.h Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release. 2011-04-24 17:22:34 +02:00
PORTS Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
proto.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
proto.h Merge branch 'svn-branch-2.1' into merge 2011-04-26 23:04:18 +02:00
proxy.c Modified base64 code in preparation for PolarSSL merge 2011-10-22 11:44:36 +02:00
proxy.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ps.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
ps.h Added optional journal directory argument to "port-share" directive, for reporting client IP origins of proxied connections. 2011-04-25 22:13:22 +02:00
push.c Implement IPv6 interface config with non-/64 prefix lengths. 2012-02-04 13:16:06 +01:00
push.h Extended "client-kill" management interface command (server-side) 2011-04-26 22:29:11 +02:00
pushlist.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
README Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
README.IPv6 Merged TODO.IPv6 with TODO.ipv6 and README.IPv6 with README.ipv6 2011-08-24 15:02:42 +02:00
README.polarssl Disabled X.509 track and username selection for PolarSSL 2011-10-22 16:00:49 +02:00
reliable.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
reliable.h Added reliability layer documentation 2011-07-28 23:22:51 +02:00
route.c Added support for "on-link" routes on Linux client 2012-01-27 10:33:56 +01:00
route.h Added support for "on-link" routes on Linux client 2012-01-27 10:33:56 +01:00
schedule.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
schedule.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
session_id.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
session_id.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
shaper.c Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
shaper.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
sig.c Made some options connection-entry specific 2012-02-13 20:43:37 +01:00
sig.h Misc fixes to r6708. 2011-03-25 09:38:48 +01:00
socket.c Fix compilation errors on Linux platforms without SO_MARK 2012-01-11 16:02:47 +01:00
socket.h fix ipv6 compilation under macosx >= 1070 - v3 2011-09-21 15:19:41 +02:00
socks.c * rebased openvpn-2.1_rc1b.jjo.20061206.d.patch 2011-03-25 13:30:28 +01:00
socks.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
sources Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
ssl_backend.h Removed stray X509_free from ssl.c 2011-10-22 16:00:49 +02:00
ssl_common.h Refactored: removed global x509_username_field 2011-10-21 14:51:45 +02:00
ssl_openssl.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
ssl_openssl.h Refactored tls_options, key_state, and key_source data structures 2011-10-21 10:53:31 +02:00
ssl_polarssl.c Minor cleanup to enable warning-free Windows build: 2011-11-21 11:51:39 +01:00
ssl_polarssl.h Added PolarSSL support: 2011-10-22 14:35:16 +02:00
ssl_verify_backend.h Unified verification function return values: 2011-10-22 18:20:55 +02:00
ssl_verify_openssl.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
ssl_verify_openssl.h UTF-8 X.509 distinguished names 2012-02-04 14:50:50 +01:00
ssl_verify_polarssl.c Minor cleanup to enable warning-free Windows build: 2011-11-21 11:51:39 +01:00
ssl_verify_polarssl.h Added PolarSSL support: 2011-10-22 14:35:16 +02:00
ssl_verify.c handle Windows unicode paths 2012-02-13 17:11:50 +01:00
ssl_verify.h Added missing #ifdef to allow --disable-managent to work again 2011-10-24 12:20:23 +02:00
ssl.c Moved CryptoAPI header include to the ssl_openssl.c 2011-11-21 11:51:39 +01:00
ssl.h Cleaned up ssl.h 2011-10-22 11:32:40 +02:00
status.c Fix compile issues with status.c 2012-02-13 17:29:52 +01:00
status.h Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
syshead.h handle Windows unicode paths 2012-02-13 17:11:50 +01:00
t_client.rc-sample add "print test titles" and "use sudo" functionality to t_client.rc 2012-01-23 09:49:37 +01:00
t_client.sh.in Fix RUN_SUDO functionality for t_client.sh 2012-02-04 13:16:06 +01:00
t_cltsrv-down.sh Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
t_cltsrv.sh Skip rather than fail test in addressless FreeBSD jails. 2011-08-24 17:14:23 +02:00
t_lpback.sh Renamed branch to reflect that it is no longer beta. 2011-03-17 04:55:47 +00:00
TODO.IPv6 Implement IPv6 interface config with non-/64 prefix lengths. 2012-02-04 13:16:06 +01:00
tun.c Platform cleanup for OpenBSD 2012-02-08 14:37:10 +01:00
tun.h Platform cleanup for OpenBSD 2012-02-08 14:37:10 +01:00
version.m4 Preparing OpenVPN 2.3-alpha1 release 2012-02-21 11:55:42 +01:00
win32.c use the underscore version of stat on Windows 2012-02-17 11:01:10 +01:00
win32.h handle Windows unicode paths 2012-02-13 17:11:50 +01:00

OpenVPN -- A Secure tunneling daemon

Copyright (C) 2002-2010 OpenVPN Technologies, Inc. This program is free software;
you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.

*************************************************************************

For the latest version of OpenVPN, go to:

	http://openvpn.net/

To Build and Install,

	./configure
	make
	make install

or see the file INSTALL for more info.

*************************************************************************

For detailed information on OpenVPN, including examples, see the man page
  http://openvpn.net/man.html

For a sample VPN configuration, see
  http://openvpn.net/howto.html

For a description of OpenVPN's underlying protocol,
  see the file ssl.h included in the source distribution.

*************************************************************************

Other Files & Directories:

* INSTALL-win32.txt -- installation instructions
  for Windows

* configure.ac -- script to rebuild our configure
  script and makefile.

* openvpn.spec -- RPM Spec file
  To build an OpenVPN binary RPM, use the command:

	rpmbuild -tb [tarball]

  When you install the binary RPM, it will automatically
  install sample-scripts/openvpn.init (see below)

* sample-scripts/openvpn.init

  A sample init script for OpenVPN.  See the file for
  comments and additional information.

* sample-scripts/verify-cn

  A sample perl script which can be used with OpenVPN's
  --tls-verify option to provide a customized authentication
  test on embedded X509 certificate fields.

* sample-keys/

  Sample RSA keys and certificates.  DON'T USE THESE FILES
  FOR ANYTHING OTHER THAN TESTING BECAUSE THEY ARE TOTALLY INSECURE.

* sample-config-files/

  A collection of OpenVPN config files and scripts from
  the HOWTO at http://openvpn.net/howto.html

* easy-rsa/

  A simple guide to RSA key management, scripts included.
  Also see http://openvpn.net/easyrsa.html