Code Duplication    Length = 6-6 lines in 2 locations

devices/ms/Device_Vista7.php 1 location

@@ 153-158 (lines=6) @@
150
<ServerSideCredential>
151
';
152
153
            foreach ($caArray as $ca) {
154
                $profileFileCont .= '<CA><format>PEM</format><cert-data>';
155
                $profileFileCont .= base64_encode($ca['der']);
156
                $profileFileCont .= '</cert-data></CA>
157
';
158
            }
159
            $profileFileCont .= "<ServerName>$servers</ServerName>\n";
160
161
            $profileFileCont .= '

devices/ms/Device_W10.php 1 location

@@ 264-269 (lines=6) @@
261
<ServerSideCredential>
262
';
263
264
                foreach ($caArray as $ca) {
265
                    $profileFileCont .= '<CA><format>PEM</format><cert-data>';
266
                    $profileFileCont .= base64_encode($ca['der']);
267
                    $profileFileCont .= '</cert-data></CA>
268
';
269
                }
270
                $profileFileCont .= "<ServerName>$servers</ServerName>\n";
271
272
                $profileFileCont .= '