1#!/bin/bash 2# 3# Copyright (C) 2019 Nikos Mavrogiannopoulos 4# 5# This file is part of ocserv. 6# 7# ocserv is free software; you can redistribute it and/or modify it 8# under the terms of the GNU General Public License as published by the 9# Free Software Foundation; either version 2 of the License, or (at 10# your option) any later version. 11# 12# ocserv is distributed in the hope that it will be useful, but 13# WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15# General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with this program. If not, see <http://www.gnu.org/licenses/>. 19# 20 21# This tests support for anyconnect's DTLS1.2 support 22 23PKG_CONFIG="${PKG_CONFIG:-/usr/bin/pkg-config}" 24CIPHER12_NAME="AES128-GCM-SHA256" 25GNUTLS_NAME="(DTLS1.2)-(RSA)-(AES-128-GCM)" 26 27${PKG_CONFIG} --atleast-version=8.02 openconnect 28test $? != 0 && exit 77 29 30. cipher-common.sh 31 32