Squashed 'OpenVPN Adapter/Vendors/openvpn/' changes from 3e002c83c..098fd412a

098fd412a [OVPN3-182] mac: add XCode project
fd5fa9403 [OI-29] Report IV_HWADDR on iOS
d3dd348c0 [OVPN3-165] send keydir opt string only when tls-auth is enabled
d0532df66 mbedTLS: add support for ECDSA
fa872c4ff [OVPN3-146] build: switch from sha256sum to shasum -a 256

git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: 098fd412a26b681e55e8c3de924d133f5547fd2f
This commit is contained in:
Sergey Abramchuk
2018-02-23 12:14:04 +03:00
parent 82fea30fcc
commit 055bb04c14
7 changed files with 363 additions and 2 deletions
+1 -1
View File
@@ -687,7 +687,7 @@ namespace openvpn {
out << ',' << compstr;
}
if (key_direction >= 0)
if (tls_auth_context && (key_direction >= 0))
out << ",keydir " << key_direction;
out << ",cipher " << CryptoAlgs::name(dc.cipher(), "[null-cipher]");