<def-group>
  <definition class="compliance" id="firefox_preferences-ssl_version_3" version="1">
    <metadata>
      <title>Disable SSL Version 3 in Firefox</title>
      <affected family="unix">
        <platform>Mozilla Firefox</platform>
      </affected>
      <description>Earlier versions of SSL have known security vulnerabilities
      and are not authorized for use in DOD.</description>
      <reference source="galford" ref_id="20150424" ref_url="test_attestation"/>
    </metadata>
    <criteria>
      <criterion comment="SSL V3 installed" test_ref="test_firefox_preferences-ssl_version_3" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" comment="Check for SSL Version 3 preferences" id="test_firefox_preferences-ssl_version_3" version="1">
    <ind:object object_ref="object_firefox_preferences-ssl_version_3" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_firefox_preferences-ssl_version_3" version="1">
    <ind:path operation="pattern match">^\/usr\/(|local\/)lib(|64)\/firefox</ind:path>
    <ind:filename operation="pattern match">^.*\.cfg$</ind:filename>
    <ind:pattern operation="pattern match">^lockPref\("security.enable_ssl3",[\s]+false\);$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>

