Commit 8e664e7e authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix authentication_method / rsa check for ipsec.secrets

parent bd652e90
......@@ -411,7 +411,7 @@ EOD;
continue;
}
if (strpos($ph1ent['authentication_method'], 'rsa') || $ph1ent['authentication_method'] == 'eap-tls') {
if (strpos($ph1ent['authentication_method'], 'rsa') !== false || $ph1ent['authentication_method'] == 'eap-tls') {
$certline = '';
$ikeid = $ph1ent['ikeid'];
$cert = lookup_cert($ph1ent['certref']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment