VPN: OpenVPN: Client Export - push data-ciphers-fallback when configured to align with legacy setup, closes https://github.com/opnsense/core/issues/7893

This commit is contained in:
Ad Schellevis 2024-09-24 21:17:46 +02:00
parent b709232e44
commit a3fd07bd4e

View File

@ -376,6 +376,8 @@ class OpenVPN extends BaseModel
'digest' => (string)$node->auth,
'description' => (string)$node->description,
'use_ocsp' => !empty((string)$node->use_ocsp),
// legacy only (backwards compatibility)
'crypto' => (string)$node->{'data-ciphers-fallback'},
];
}
}