diff options
author | Claudio Matsuoka <claudio@mandriva.com> | 2010-03-02 16:38:18 +0000 |
---|---|---|
committer | Claudio Matsuoka <claudio@mandriva.com> | 2010-03-02 16:38:18 +0000 |
commit | 9dc6fe9a88114e78f1910795fb87006fd1f54d15 (patch) | |
tree | 7ad8c76f3627b1f976343d195be665ca092b8d3e /lib/network | |
parent | 9c60f0dd2e7a41f97719e005acd0aa13241f707d (diff) | |
download | drakx-net-9dc6fe9a88114e78f1910795fb87006fd1f54d15.tar drakx-net-9dc6fe9a88114e78f1910795fb87006fd1f54d15.tar.gz drakx-net-9dc6fe9a88114e78f1910795fb87006fd1f54d15.tar.bz2 drakx-net-9dc6fe9a88114e78f1910795fb87006fd1f54d15.tar.xz drakx-net-9dc6fe9a88114e78f1910795fb87006fd1f54d15.zip |
disable CA certificate field if pkcs12 certificate is used (#38463)
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/vpn/openvpn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/vpn/openvpn.pm b/lib/network/vpn/openvpn.pm index ac5acf1..813f453 100644 --- a/lib/network/vpn/openvpn.pm +++ b/lib/network/vpn/openvpn.pm @@ -142,7 +142,7 @@ sub get_key_settings { N("Certificate Authority (CA)"), type => 'file', val => \$connection->{ca_file}, - disabled => sub { $connection->{type} ne 'pki' }, + disabled => sub { $connection->{type} ne 'pki' || $connection->{pkcs12_file} }, }, { label => N("Certificate"), |