c9b6de5 Ticket #47493 - Configuration Tab does not work with FIPS mode enabled

Authored and Committed by nhosoi 9 years ago
    Ticket #47493 - Configuration Tab does not work with FIPS mode enabled
    
    Bug Description: Admin Server CGI sec-activate retrieves attribute
    values of
     dn: cn=encryption,cn=configuration,cn=admin-serv-ID,cn=389 Administration
      Server,cn=Server Group,cn=FQDN,ou=DOMAIN,o=NetscapeRoot
    and return them to the client such as Console.  The CGI sec-activate
    was supposed to get the knowledge if the FIPS mode is enabled or not,
    and return ciphers FIPS compliant, but the code was missing.
    
    In this patch, the code is added to check if it is FIPS mode or not
    and if it is, return just FIPS friendly ciphers in this patch.
    
    Plus unnecessary temp buffer and copies from temp to temp_return were
    removed.
    
    https://fedorahosted.org/389/ticket/47493
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
        
file modified
+0 -5