Skip to content

Commit 61f1d03

Browse files
committed
Merge branch 'dev-1.3' into pqcrypto
2 parents 5ba97ac + 439893c commit 61f1d03

243 files changed

Lines changed: 5290 additions & 2907 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
Release
1818
Debug
1919
Win32-Output
20+
.vs
2021
.deps
2122
.libs
2223
Makefile
@@ -50,11 +51,11 @@ msvc-env-local.bat
5051
config-msvc-local.h
5152
config-msvc-version.h
5253
doc/openvpn.8.html
53-
distro/rpm/openvpn.spec
5454
distro/systemd/*.service
5555
sample/sample-keys/sample-ca/
56-
vendor/.build
56+
vendor/cmocka_build
5757
vendor/dist
58+
build/msvc/msvc-generate/version.m4
5859

5960
tests/t_client.sh
6061
tests/t_client-*-20??????-??????/

.travis.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sudo: required
2-
dist: trusty
2+
dist: xenial
33

44
os: linux
55

@@ -33,7 +33,10 @@ matrix:
3333
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
3434
os: linux
3535
compiler: gcc
36-
- env: SSLLIB="openssl"
36+
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0h" LABEL="linux-ppc64le"
37+
os: linux-ppc64le
38+
compiler: gcc
39+
- env: SSLLIB="openssl" CFLAGS="-fsanitize=address"
3740
os: linux
3841
compiler: clang
3942
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
@@ -42,18 +45,19 @@ matrix:
4245
- env: SSLLIB="mbedtls"
4346
os: linux
4447
compiler: gcc
45-
- env: SSLLIB="mbedtls"
48+
- env: SSLLIB="mbedtls" CFLAGS="-fsanitize=address"
4649
os: linux
4750
compiler: clang
4851
- env: SSLLIB="openssl"
4952
os: osx
50-
osx_image: xcode7.3
5153
compiler: clang
5254
- env: SSLLIB="mbedtls"
5355
os: osx
54-
osx_image: xcode7.3
5556
compiler: clang
56-
- env: SSLLIB="openssl" CHOST=x86_64-w64-mingw32
57+
- env: SSLLIB="openssl" CHOST=x86_64-w64-mingw32 OPENSSL_VERSION="1.0.1u"
58+
os: linux
59+
compiler: ": Win64 build only"
60+
- env: SSLLIB="openssl" CHOST=x86_64-w64-mingw32 OPENSSL_VERSION="1.1.0h"
5761
os: linux
5862
compiler: ": Win64 build only"
5963
- env: SSLLIB="openssl" CHOST=i686-w64-mingw32
@@ -73,22 +77,17 @@ matrix:
7377

7478
addons:
7579
apt:
76-
packages:
77-
- liblzo2-dev
78-
- libpam0g-dev
79-
- liblz4-dev
80-
- linux-libc-dev
81-
- man2html
80+
update: true
81+
packages: [ liblzo2-dev, libpam0g-dev, liblz4-dev, linux-libc-dev, man2html, mingw-w64]
82+
homebrew:
83+
update: true
84+
packages: [ lzo ]
8285

8386
cache:
84-
ccache: true
8587
directories:
8688
- download-cache
8789
- ${HOME}/opt
88-
89-
before_install:
90-
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update ; fi
91-
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install lzo; fi
90+
- ${HOME}/Library/Caches/Homebrew
9291

9392
install:
9493
- if [ ! -z "${CHOST}" ]; then unset CC; fi

.travis/build-deps.sh

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ build_mbedtls () {
7878

7979
download_openssl () {
8080
if [ ! -f "download-cache/openssl-${OPENSSL_VERSION}.tar.gz" ]; then
81+
MAJOR=`echo $OPENSSL_VERSION | sed -e 's/\([0-9.]*\).*/\1/'`
8182
wget -P download-cache/ \
82-
"https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz"
83+
"https://www.openssl.org/source/old/${MAJOR}/openssl-${OPENSSL_VERSION}.tar.gz"
8384
fi
8485
}
8586

@@ -111,7 +112,7 @@ build_openssl_mingw () {
111112
fi
112113

113114
./Configure --cross-compile-prefix=${CHOST}- shared \
114-
${TARGET} no-multilib no-capieng --prefix="${PREFIX}" --openssldir="${PREFIX}" -static-libgcc
115+
${TARGET} no-capieng --prefix="${PREFIX}" --openssldir="${PREFIX}" -static-libgcc
115116
make install
116117
)
117118
}
@@ -130,25 +131,6 @@ build_openssl () {
130131
fi
131132
}
132133

133-
# Enable ccache
134-
if [ "${TRAVIS_OS_NAME}" != "osx" ] && [ -z ${CHOST+x} ]; then
135-
# ccache not available on osx, see:
136-
# https://github.com/travis-ci/travis-ci/issues/5567
137-
# also ccache not enabled for cross builds
138-
mkdir -p "${HOME}/bin"
139-
ln -s "$(which ccache)" "${HOME}/bin/${CC}"
140-
PATH="${HOME}/bin:${PATH}"
141-
fi
142-
143-
if [ ! -z ${CHOST+x} ]; then
144-
#
145-
# openvpn requires at least mingw-gcc-4.9, which is available at xenial repo
146-
#
147-
sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu xenial main universe"
148-
sudo apt-get update
149-
sudo apt-get -y install dpkg mingw-w64
150-
fi
151-
152134
# Download and build crypto lib
153135
if [ "${SSLLIB}" = "openssl" ]; then
154136
download_openssl

COPYING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OpenVPN (TM) -- An Open Source VPN daemon
22

3-
Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
3+
Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
44

55
This distribution contains multiple components, some
66
of which fall under different licenses. By using OpenVPN
@@ -11,7 +11,7 @@ each respective component.
1111
OpenVPN trademark
1212
-----------------
1313

14-
"OpenVPN" is a trademark of OpenVPN Technologies, Inc.
14+
"OpenVPN" is a trademark of OpenVPN Inc
1515

1616

1717
OpenVPN license:
@@ -21,7 +21,7 @@ OpenVPN license:
2121

2222
Special exception for linking OpenVPN with OpenSSL:
2323

24-
In addition, as a special exception, OpenVPN Technologies, Inc. gives
24+
In addition, as a special exception, OpenVPN Inc gives
2525
permission to link the code of this program with the OpenSSL
2626
library (or with modified versions of OpenSSL that use the same
2727
license as OpenSSL), and distribute linked combinations including
@@ -52,7 +52,7 @@ TAP-Win32/TAP-Win64 Driver license:
5252
Damion K. Wilson.
5353

5454
The source and object code of the TAP-Win32/TAP-Win64 driver
55-
is Copyright (C) 2002-2010 OpenVPN Technologies, Inc., and is released under
55+
is Copyright (C) 2002-2018 OpenVPN Inc, and is released under
5656
the GPL version 2.
5757

5858
Windows DDK Samples:

0 commit comments

Comments
 (0)