We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5282620 commit 90eb8e8Copy full SHA for 90eb8e8
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/ModelTraits/OpenVPNClientExportTraits.inc
@@ -193,6 +193,7 @@ trait OpenVPNClientExportTraits {
193
public function validate_legacy(bool $legacy): bool {
194
if ($legacy) {
195
global $legacy_incompatible_ciphers;
196
+ $legacy_incompatible_ciphers = $legacy_incompatible_ciphers ?? [];
197
$settings = get_openvpnserver_by_id($this->server->value);
198
if (in_array($settings['data_ciphers_fallback'], $legacy_incompatible_ciphers)) {
199
throw new ConflictError(
0 commit comments